Skip to content

Commit

Permalink
added hs latency
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-sharma-juspay committed Nov 1, 2023
1 parent 11796cb commit d61bcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/router/src/services/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ where

if let Some((_, value)) = headers.iter().find(|(key, _)| key == X_HS_LATENCY) {
if let Ok(external_latency) = value.parse::<u128>() {
overhead_latency.replace(request_duration - external_latency);
overhead_latency.replace(external_latency);
}
}
}
Expand Down

0 comments on commit d61bcf6

Please sign in to comment.