client timeout now 600 sec

This commit is contained in:
Martin Brodbeck 2023-10-04 14:17:22 +02:00
parent d0a095c709
commit f83c105668

View file

@ -2,7 +2,7 @@ use chrono::{DateTime, Duration, Local};
use log::debug; use log::debug;
use std::{collections::HashMap, net::UdpSocket, thread}; use std::{collections::HashMap, net::UdpSocket, thread};
const CLIENT_TIMEOUT: u32 = 300; const CLIENT_TIMEOUT: u32 = 600;
const KEEPALIVE: u64 = 10; const KEEPALIVE: u64 = 10;
const MAX_CLIENTS: usize = 10; const MAX_CLIENTS: usize = 10;
const MY_SPEED: u8 = 30; const MY_SPEED: u8 = 30;