From 4de8d3acfb8e4d2a7783166047fa678605ee8189 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 24 Jan 2024 16:57:53 +0100 Subject: [PATCH] the server still lives with over 500 clients --- src/common/conf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/conf.rs b/src/common/conf.rs index d39d49a..f7d9f81 100644 --- a/src/common/conf.rs +++ b/src/common/conf.rs @@ -11,7 +11,7 @@ use libpt::log::{error, trace}; const DEFAULT_TIMEOUT_LEN: u64 = 5000; // ms const DEFAULT_DELAY_LEN: u64 = 500; // ms -const DEFAULT_WIN_AFTER: usize = 20; +const DEFAULT_WIN_AFTER: usize = 0x10; #[derive(Clone)] pub struct Config {