Final tweak to query logic

This commit is contained in:
2023-09-06 07:05:05 -07:00
parent 6ad13b0e35
commit 4fe048f9c7
2 changed files with 4 additions and 2 deletions

View File

@@ -865,7 +865,8 @@
(statsd/time! [(str "query.graphql.time" ) {:tags #{(str "query:" (query-name q))}}]
(mu/with-context {:query-string q :user id}
(lc/with-context {:query q}
(log/info "executing query name" (query-name q))
(alog/info ::executing-query
:query-name (query-name q))
(try
(let [[result time] (time-it (simplify (execute schema q (dissoc v
:clients) {:id id