mirror of
https://github.com/penpot/penpot.git
synced 2026-03-01 15:53:53 +00:00
🐛 Fix regression on worker task handling
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user