mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
increase threshold for retiring closes
when not in heavy loopback mode, this occurs more rarely and probably for more legitimate reasons.
This commit is contained in:
parent
d86fd9dfc9
commit
205f0a3be3
1 changed files with 1 additions and 1 deletions
|
|
@ -1695,7 +1695,7 @@ fn main() -> ! {
|
|||
// FORCE_CLOSE_COUNT is an arbitrary threshold where we just decide to stop waiting for the other
|
||||
// side to send the final ack: it's long enough that it almost never times out
|
||||
// incorrectly, but short enough that we're not keeping around baggage forever.
|
||||
const FORCE_CLOSE_COUNT: u32 = 8;
|
||||
const FORCE_CLOSE_COUNT: u32 = 16;
|
||||
if !socket.is_open() || *count > FORCE_CLOSE_COUNT {
|
||||
if *count > FORCE_CLOSE_COUNT {
|
||||
log::warn!("forced close on {:?}", socket.local_endpoint());
|
||||
|
|
|
|||
Loading…
Reference in a new issue