From fb77972fc5660e8ddc57e8b754e62b2d4a0b73f2 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Thu, 19 Dec 2024 11:31:33 +0000 Subject: [PATCH] feat: [#1139] increas ip ban duration to 1 hour --- src/servers/udp/server/launcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/udp/server/launcher.rs b/src/servers/udp/server/launcher.rs index 1d1ba4de..ada50eb3 100644 --- a/src/servers/udp/server/launcher.rs +++ b/src/servers/udp/server/launcher.rs @@ -25,7 +25,7 @@ use crate::servers::udp::UDP_TRACKER_LOG_TARGET; /// The maximum number of connection id errors per ip. Clients will be banned if /// they exceed this limit. const MAX_CONNECTION_ID_ERRORS_PER_IP: u32 = 10; -const IP_BANS_RESET_INTERVAL_IN_SECS: u64 = 120; +const IP_BANS_RESET_INTERVAL_IN_SECS: u64 = 3600; /// A UDP server instance launcher. #[derive(Constructor)]