mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 09:08:05 -05:00
fix: actually exit (#1421)
This commit is contained in:
@@ -40,10 +40,9 @@ impl CliRunner {
|
||||
// give all tasks that are now being shut down some time to finish before tokio leaks them
|
||||
// see [Runtime::shutdown_timeout](tokio::runtime::Runtime::shutdown_timeout)
|
||||
// TODO: enable this again, when pipeline/stages are not longer blocking tasks
|
||||
std::process::exit(0);
|
||||
// warn!(target: "reth::cli", "Received shutdown signal, waiting up to 30 seconds for
|
||||
// tasks."); tokio_runtime.shutdown_timeout(Duration::from_secs(30));
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Executes a regular future until completion or until external signal received.
|
||||
|
||||
Reference in New Issue
Block a user