Skip to content

Commit

Permalink
fix(logs): Correct spelling of aquired_after_secs tracing field
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Potts <[email protected]>
  • Loading branch information
iamjpotts committed Sep 5, 2024
1 parent 10bec32 commit 4a1b87f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlx-core/src/pool/inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,15 +308,15 @@ impl<DB: Database> PoolInner<DB> {
private_tracing_dynamic_event!(
target: "sqlx::pool::acquire",
level,
aquired_after_secs = acquired_after.as_secs_f64(),
acquired_after_secs = acquired_after.as_secs_f64(),
slow_acquire_threshold_secs = self.options.acquire_slow_threshold.as_secs_f64(),
"acquired connection, but time to acquire exceeded slow threshold"
);
} else if let Some(level) = self.acquire_time_level {
private_tracing_dynamic_event!(
target: "sqlx::pool::acquire",
level,
aquired_after_secs = acquired_after.as_secs_f64(),
acquired_after_secs = acquired_after.as_secs_f64(),
"acquired connection"
);
}
Expand Down

0 comments on commit 4a1b87f

Please sign in to comment.