Unverified Commit 63915ef5 authored by Neelay Shah's avatar Neelay Shah Committed by GitHub
Browse files

fix: reuse elapsed duration in InflightGuard::Drop [DIS-1643] (#7869)


Co-authored-by: default avatarClaude Opus 4.6 (1M context) <noreply@anthropic.com>
parent 4cf04338
......@@ -1045,7 +1045,7 @@ impl Drop for InflightGuard {
.with_label_values(&[&self.model])
.observe(duration);
let elapsed_ms = self.timer.elapsed().as_millis();
let elapsed_ms = (duration * 1000.0) as u64;
let status_str = self.status.as_str();
match self.status {
Status::Error => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment