mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-05-25 07:55:24 +00:00
The pre_run handler is in the same process, not the worker, so a close_old isn't needed here
This commit is contained in:
committed by
Trenton H
parent
7e0dc2bca4
commit
f7172a94e2
@@ -1122,7 +1122,6 @@ def before_task_publish_handler(
|
||||
return
|
||||
|
||||
try:
|
||||
close_old_connections()
|
||||
_, task_kwargs, _ = body
|
||||
task_id = headers["id"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user