the server still lives with over 500 clients
cargo devel CI / cargo CI (push) Successful in 2m12s Details

This commit is contained in:
Christoph J. Scherr 2024-01-24 16:57:53 +01:00
parent 80c8d6d4ed
commit 0242100fb5
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ use anyhow::{anyhow, Result};
use libpt::log::{error, trace}; use libpt::log::{error, trace};
const DEFAULT_TIMEOUT_LEN: u64 = 5000; // ms const DEFAULT_TIMEOUT_LEN: u64 = 5000; // ms
const DEFAULT_DELAY_LEN: u64 = 500; // ms const DEFAULT_DELAY_LEN: u64 = 200; // ms
const DEFAULT_WIN_AFTER: usize = 20; const DEFAULT_WIN_AFTER: usize = 0xff;
#[derive(Clone)] #[derive(Clone)]
pub struct Config { pub struct Config {