mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: network: check less often if periodic tasks need to be done
This commit is contained in:
parent
a530dc2860
commit
029193b512
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ pub fn run_socket_worker(
|
|||
);
|
||||
|
||||
// Run periodic ValidUntil updates and state cleaning
|
||||
if iter_counter % 32 == 0 {
|
||||
if iter_counter % 128 == 0 {
|
||||
let now = Instant::now();
|
||||
|
||||
connection_valid_until =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue