Merge of #8462
This commit is contained in:
commit
ec0d4fdeec
|
@ -1757,7 +1757,7 @@ fn non_blocking_logger() -> Result<()> {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Wait until the spawned task finishes up to 45 seconds before shutting down tokio runtime
|
// Wait until the spawned task finishes up to 45 seconds before shutting down tokio runtime
|
||||||
if done_rx.recv_timeout(Duration::from_secs(45)).is_ok() {
|
if done_rx.recv_timeout(Duration::from_secs(90)).is_ok() {
|
||||||
rt.shutdown_timeout(Duration::from_secs(3));
|
rt.shutdown_timeout(Duration::from_secs(3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue