mirror of https://github.com/m-labs/artiq.git
runtime: relax/fix TCP keepalive settings (#1125)
This commit is contained in:
parent
b5e1bd3fa2
commit
dfad27125e
|
@ -629,7 +629,7 @@ pub fn thread(io: Io, aux_mutex: &Mutex,
|
|||
loop {
|
||||
if listener.can_accept() {
|
||||
let mut stream = listener.accept().expect("session: cannot accept");
|
||||
stream.set_timeout(Some(1000));
|
||||
stream.set_timeout(Some(2250));
|
||||
stream.set_keep_alive(Some(500));
|
||||
|
||||
match host::read_magic(&mut stream) {
|
||||
|
|
Loading…
Reference in New Issue