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:
parent
d38c495807
commit
f2e2700c79
1 changed files with 5 additions and 4 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue