Shutdown gossip on failure
This commit is contained in:
parent
5463226184
commit
54ff9b3ac2
|
@ -121,6 +121,9 @@ pub fn discover(
|
||||||
));
|
));
|
||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exit.store(true, Ordering::Relaxed);
|
||||||
|
gossip_service.join().unwrap();
|
||||||
Err("Failed to converge")
|
Err("Failed to converge")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue