mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Revert runtime drop (#1198)
This commit is contained in:
@@ -276,7 +276,7 @@ impl<E: EthSpec> Environment<E> {
|
||||
/// Shutdown the `tokio` runtime when all tasks are idle.
|
||||
pub fn shutdown_on_idle(self) {
|
||||
self.runtime
|
||||
.shutdown_timeout(std::time::Duration::from_secs(5))
|
||||
.shutdown_timeout(std::time::Duration::from_secs(2))
|
||||
}
|
||||
|
||||
/// Sets the logger (and all child loggers) to log to a file.
|
||||
|
||||
Reference in New Issue
Block a user