mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Re-add info message using elapsed stopping time
This commit is contained in:
@@ -526,6 +526,9 @@ impl Context {
|
||||
tokio::spawn(async move {
|
||||
drop_rx.await.ok();
|
||||
let mut s = context.running_state.write().await;
|
||||
if let RunningState::ShallStop { request } = *s {
|
||||
info!(context, "Ongoing stopped in {:?}", request.elapsed());
|
||||
}
|
||||
*s = RunningState::Stopped;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user