0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

🐛 Fix regression on worker task handling

This commit is contained in:
Andrey Antukh 2022-11-30 13:13:11 +01:00
parent be24989eab
commit c451c7bb9d

View file

@ -409,7 +409,9 @@
{:status :retry :task task :error cause})))))
(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]
(loop [task (get-task task-id)]