Revert runtime drop (#1198)

This commit is contained in:
Age Manning
2020-05-27 06:38:12 +10:00
committed by GitHub
parent 5122b2c13a
commit 61496d8dad
2 changed files with 2 additions and 6 deletions

View File

@@ -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.