mirror of
https://github.com/penpot/penpot.git
synced 2025-03-18 18:51:29 -05:00
🐛 Forward var bindings on climit submit operation
This commit is contained in:
parent
69c8a89dd2
commit
9173c73eca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue