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:
parent
be24989eab
commit
c451c7bb9d
1 changed files with 3 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Reference in a new issue