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:
@@ -45,6 +45,7 @@ Related utilities:
|
||||
* DB indexes for the issue-lists (including filters)
|
||||
* Don't 'eat your own dogfood' (send errors to backend) while running tests
|
||||
* `delete_with_limit` was removed; this removes one tie-in to MySQL/Sqlite (See #21)
|
||||
* Print task's name in Snappea log when "Done"
|
||||
|
||||
## 1.2.0 (11 February 2025)
|
||||
|
||||
|
||||
@@ -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