mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Snappea 'worker done': display task name
for the important case of 'quickly eye-balling what-took-you-so-long' this saves those eye-balls a lookup
This commit is contained in:
@@ -187,7 +187,9 @@ class Foreman:
|
||||
for connection in connections.all():
|
||||
connection.close()
|
||||
|
||||
logger.info("Worker done in %.3fs", time.time() - t0)
|
||||
logger.info(
|
||||
'Worker done for "%s.%s" in %.3fs',
|
||||
function.__module__, function.__name__, time.time() - t0)
|
||||
self.workers.stopped(task_id)
|
||||
self.worker_semaphore.release()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user