📎 Add minor logging improvements on worker module

This commit is contained in:
Andrey Antukh 2024-04-16 15:01:04 +02:00
parent c3a0db2431
commit 25001e5b80
3 changed files with 7 additions and 5 deletions

View file

@ -119,11 +119,13 @@
:next.jdbc/update-count))]
(l/trc :hint "submit task"
:name task
:task-id (str id)
:queue queue
:label label
:dedupe (boolean dedupe)
:deleted (or deleted 0)
:in (dt/format-duration duration))
:delay (dt/format-duration duration)
:replace (or deleted 0))
(db/exec-one! conn [sql:insert-new-task id task props queue
label priority max-retries interval])