Skip to content

Commit fb77972

Browse files
committed
feat: [#1139] increas ip ban duration to 1 hour
1 parent df101fb commit fb77972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/servers/udp/server/launcher.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use crate::servers::udp::UDP_TRACKER_LOG_TARGET;
2525
/// The maximum number of connection id errors per ip. Clients will be banned if
2626
/// they exceed this limit.
2727
const MAX_CONNECTION_ID_ERRORS_PER_IP: u32 = 10;
28-
const IP_BANS_RESET_INTERVAL_IN_SECS: u64 = 120;
28+
const IP_BANS_RESET_INTERVAL_IN_SECS: u64 = 3600;
2929

3030
/// A UDP server instance launcher.
3131
#[derive(Constructor)]

0 commit comments

Comments
 (0)