From 9173c73eca20f0fc35f909a49770003494037a51 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 16 Mar 2023 19:40:28 +0100 Subject: [PATCH] :bug: Forward var bindings on climit submit operation --- backend/src/app/rpc/climit.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/rpc/climit.clj b/backend/src/app/rpc/climit.clj index bbd5179d4..060ab0015 100644 --- a/backend/src/app/rpc/climit.clj +++ b/backend/src/app/rpc/climit.clj @@ -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)))))