fix: correct log message

This commit is contained in:
Greg Heartsfield 2023-01-03 21:24:46 -06:00
parent 0e519f6b77
commit 20c4bb42eb

View File

@ -783,7 +783,7 @@ pub async fn db_query(
// if the queue time was very long (>5 seconds), spare the DB and abort.
if db_queue_time > Duration::from_secs(5) {
info!(
"shedding DB query load from {:?} (cid: {}, sub: {:?})",
"shedding DB query load queued for {:?} (cid: {}, sub: {:?})",
db_queue_time, client_id, sub.id
);
return Ok(());