mirror of
https://github.com/penpot/penpot.git
synced 2026-05-10 02:28:16 +00:00
🐛 Forward var bindings on climit submit operation
This commit is contained in:
parent
69c8a89dd2
commit
9173c73eca
@ -168,7 +168,7 @@
|
||||
|
||||
(defn submit!
|
||||
[{:keys [::id ::cache ::wrk/executor ::mtx/metrics]} f]
|
||||
(let [f (partial px/submit! executor f)]
|
||||
(let [f (partial px/submit! executor (px/wrap-bindings f))]
|
||||
(if (and cache id)
|
||||
(p/await! (invoke! cache metrics id nil f))
|
||||
(p/await! (f)))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user