Skip to content

Commit 277cfaa

Browse files
committed
Increase retries for server restart
1 parent 6a0952c commit 277cfaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/process.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn terminate_existing_processes(config: &Config) -> AtomicServerResult<()> {
1212
use sysinfo::{ProcessExt, SystemExt};
1313
let mut s = sysinfo::System::new_all();
1414
let retry_secs = 1;
15-
let mut tries_left = 15;
15+
let mut tries_left = 60;
1616
if let Some(process) = s.process(pid) {
1717
log::warn!(
1818
"Terminating existing running instance of atomic-server (process ID: {})...",

0 commit comments

Comments
 (0)