Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dwwoelfel committed Jan 14, 2025
1 parent 903dd90 commit ea4c77b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion server/src/instant/db/transaction.clj
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@

results-with-on-deletes (enforce-on-deletes conn attrs app-id results)
tx (transaction-model/create! conn {:app-id app-id})]
(tool/def-locals)
(e2e-tracer/start-invalidator-tracking! {:tx-id (:id tx)})
(e2e-tracer/invalidator-tracking-step! {:tx-id (:id tx)
:name "transact"})
Expand Down
2 changes: 1 addition & 1 deletion server/src/instant/flags.clj
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
e2e-logging (when-let [flag (-> (get result "e2e-logging")
first)]
{:invalidator-every-n (try (/ 1 (get flag "invalidator-rate"))
(catch Exception e
(catch Exception _e
10000))})]
{:emails emails
:storage-enabled-whitelist storage-enabled-whitelist
Expand Down
2 changes: 1 addition & 1 deletion server/src/instant/util/e2e_tracer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
:entropy tx-id})]
(tracer/end-span! span))))

(defn invalidator-tracking-step! [{:keys [^Long tx-id name] :as span-opts}]
(defn invalidator-tracking-step! [{:keys [^Long tx-id] :as span-opts}]
;; Create a new span with a stable trace-id and span-id for the parent
(when (flags/e2e-should-honeycomb-publish? tx-id)
(binding [tracer/*span* (make-invalidator-tracking-span tx-id nil)]
Expand Down

0 comments on commit ea4c77b

Please sign in to comment.