From f83c10566853331ecc552c0bebd70a2a896b5bf2 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Wed, 4 Oct 2023 14:17:22 +0200 Subject: [PATCH] client timeout now 600 sec --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f9e39f7..8412ab3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ use chrono::{DateTime, Duration, Local}; use log::debug; use std::{collections::HashMap, net::UdpSocket, thread}; -const CLIENT_TIMEOUT: u32 = 300; +const CLIENT_TIMEOUT: u32 = 600; const KEEPALIVE: u64 = 10; const MAX_CLIENTS: usize = 10; const MY_SPEED: u8 = 30;