mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-12 11:07:13 +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:
1 parent
b38d112691
commit
37496775c0
1 file changed
-1
@@ -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