0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

💄 Change worker logging

This commit is contained in:
Andrey Antukh 2022-12-15 11:33:10 +01:00
parent d38c495807
commit f2e2700c79

View file

@ -217,7 +217,7 @@
(l/debug :hist "dispatcher: queue tasks"
:queue queue
:tasks (count ids)
:total-queued res)))
:queued res)))
(run-batch! [rconn]
(db/with-atomic [conn pool]
@ -446,10 +446,11 @@
:else
(try
(l/debug :hint "worker: executing task"
:name (:name task)
:id (:id task)
:queue queue
:worker-id worker-id
:task-id (:id task)
:task-name (:name task)
:task-retry (:retry-num task))
:retry (:retry-num task))
(handle-task task)
(catch InterruptedException cause
(throw cause))