mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: remove ctrl handling (#1252)
This commit is contained in:
@ -142,10 +142,9 @@ impl Command {
|
||||
|
||||
// Run pipeline
|
||||
info!(target: "reth::cli", "Starting sync pipeline");
|
||||
tokio::select! {
|
||||
res = pipeline.run(db.clone()) => res?,
|
||||
_ = tokio::signal::ctrl_c() => {},
|
||||
};
|
||||
pipeline.run(db.clone()).await?;
|
||||
|
||||
// TODO: this is where we'd handle graceful shutdown by listening to ctrl-c
|
||||
|
||||
if !self.network.no_persist_peers {
|
||||
dump_peers(self.network.peers_file.as_ref(), network).await?;
|
||||
|
||||
Reference in New Issue
Block a user