mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 07:45:30 +00:00
fix(logs): Correct spelling of aquired_after_secs tracing field (#3486)
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
This commit is contained in:
parent
1341b396bb
commit
64e154abfa
@ -301,7 +301,7 @@ impl<DB: Database> PoolInner<DB> {
|
|||||||
private_tracing_dynamic_event!(
|
private_tracing_dynamic_event!(
|
||||||
target: "sqlx::pool::acquire",
|
target: "sqlx::pool::acquire",
|
||||||
level,
|
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(),
|
slow_acquire_threshold_secs = self.options.acquire_slow_threshold.as_secs_f64(),
|
||||||
"acquired connection, but time to acquire exceeded slow threshold"
|
"acquired connection, but time to acquire exceeded slow threshold"
|
||||||
);
|
);
|
||||||
@ -309,7 +309,7 @@ impl<DB: Database> PoolInner<DB> {
|
|||||||
private_tracing_dynamic_event!(
|
private_tracing_dynamic_event!(
|
||||||
target: "sqlx::pool::acquire",
|
target: "sqlx::pool::acquire",
|
||||||
level,
|
level,
|
||||||
aquired_after_secs = acquired_after.as_secs_f64(),
|
acquired_after_secs = acquired_after.as_secs_f64(),
|
||||||
"acquired connection"
|
"acquired connection"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user