mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -95,7 +95,7 @@ impl Handler {
|
||||
while let Some(_c) = rx.recv().await {
|
||||
logger::info!("Awaiting shutdown!");
|
||||
metrics::SHUTDOWN_SIGNAL_RECEIVED.add(&metrics::CONTEXT, 1, &[]);
|
||||
let shutdown_started = tokio::time::Instant::now();
|
||||
let shutdown_started = time::Instant::now();
|
||||
rx.close();
|
||||
|
||||
//Check until the active tasks are zero. This does not include the tasks in the stream.
|
||||
|
||||
Reference in New Issue
Block a user