We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7a87f1 + 185aba2 commit 4892ea1Copy full SHA for 4892ea1
src/lib.rs
@@ -344,6 +344,7 @@ fn new_restart_coordination_socket_stream(
344
) -> io::Result<(Option<OwnedFd>, impl Stream<Item = RestartResponder>)> {
345
if let Some(path) = restart_coordination_socket {
346
let listener = bind_restart_coordination_socket(path)?;
347
+ listener.set_nonblocking(true)?;
348
let inherit_socket = OwnedFd::from(listener.try_clone()?);
349
let listener = UnixListener::from_std(listener)?;
350
let st = listen_for_restart_events(listener);
0 commit comments