mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 04:29:31 +00:00
🐛 Fix regression on worker task handling
This commit is contained in:
parent
be24989eab
commit
c451c7bb9d
@ -409,7 +409,9 @@
|
|||||||
{:status :retry :task task :error cause})))))
|
{:status :retry :task task :error cause})))))
|
||||||
|
|
||||||
(get-task [task-id]
|
(get-task [task-id]
|
||||||
(ex/try (db/get* pool :task {:id task-id})))
|
(ex/try!
|
||||||
|
(some-> (db/get* pool :task {:id task-id})
|
||||||
|
(decode-task-row))))
|
||||||
|
|
||||||
(run-task [task-id]
|
(run-task [task-id]
|
||||||
(loop [task (get-task task-id)]
|
(loop [task (get-task task-id)]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user