mirror of
https://github.com/penpot/penpot.git
synced 2026-05-08 01:28:44 +00:00
WIP
This commit is contained in:
parent
b2abd308ca
commit
3f99b1b626
@ -582,14 +582,14 @@
|
||||
(loop [total 0]
|
||||
(let [result (-> main/system
|
||||
(assoc ::db/rollback rollback?)
|
||||
(proc-fn opts))
|
||||
total (+ total result)
|
||||
chunks (swap! processed inc)]
|
||||
|
||||
(proc-fn opts))]
|
||||
(l/dbg :hint "chunk processed" :jid jid :total total :chunk result)
|
||||
(when (and (pos? result)
|
||||
(< chunks max-chunks))
|
||||
(recur total)))))]
|
||||
|
||||
(let [total (+ total result)
|
||||
chunks (swap! processed inc)]
|
||||
(when (and (pos? result)
|
||||
(< chunks max-chunks))
|
||||
(recur total))))))]
|
||||
|
||||
(l/dbg :hint "process:start"
|
||||
:rollback rollback?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user