Remove connection_close

this was never supposed to have been committed, mistake in c453ca00e5
This commit is contained in:
Klaas van Schelven
2024-07-08 09:41:57 +02:00
parent 2ddc33017a
commit b6cc268333

View File

@@ -299,7 +299,6 @@ class Foreman:
logger.error('Create workers: can\'t execute "%s": %s', task.task_name, e)
with time_to_logger(performance_logger, "Snappea delete Task"):
task.delete() # we delete the task because we can't do anything with it, and we don't want to hang
self.connection_close(using="snappea")
capture_exception(e)
self.worker_semaphore.release()
continue