Skip to content

Commit

Permalink
Fix log message (metabase#12189)
Browse files Browse the repository at this point in the history
  • Loading branch information
camsaul authored Mar 24, 2020
1 parent 822434d commit 1a69e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metabase/async/streaming_response.clj
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
(let [poll-timeout-chan (a/timeout async-cancellation-poll-interval-ms)
[_ port] (a/alts! [poll-timeout-chan finished-chan])]
(when (= port poll-timeout-chan)
(log/tracef "Checking cancelation status after waiting %s")
(log/tracef "Checking cancelation status after waiting %s" (u/format-milliseconds async-cancellation-poll-interval-ms))
(let [canceled-status-chan (async.u/cancelable-thread (canceled? request))
status-timeout-chan (a/timeout async-cancellation-poll-timeout-ms)
[canceled? port] (a/alts! [finished-chan canceled-status-chan status-timeout-chan])]
Expand Down

0 comments on commit 1a69e72

Please sign in to comment.