Skip to content

Commit

Permalink
enlarge wait time before kill daemon process
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Dec 12, 2023
1 parent 5af403f commit 8633ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckb-bin/src/subcommand/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn kill_process(pid_file: &PathBuf, name: &str) -> Result<(), ExitCode> {
);
// Send a SIGTERM signal to the process
let _ = kill(Pid::from_raw(pid), Some(Signal::SIGTERM)).map_err(|_| ExitCode::Failure);
let mut wait_time = 15;
let mut wait_time = 60;
eprintln!("{}", "waiting ckb service to stop ...".yellow());
loop {
let res = check_process(pid_file);
Expand Down

0 comments on commit 8633ae5

Please sign in to comment.