mirror of https://github.com/m-labs/artiq.git
runtime: relax/fix TCP keepalive settings (#1125)
This commit is contained in:
parent
048de0f67b
commit
ae4f4b335b
|
@ -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