Skip to content

Commit 4a9dcef

Browse files
committed
Merge #1144: Increase IP ban duration to 1 hour
fb77972 feat: [#1139] increas ip ban duration to 1 hour (Jose Celano) Pull request description: Increase IP ban duration to 1 hour. ACKs for top commit: josecelano: ACK fb77972 Tree-SHA512: 67f3beef605277c10863264e9e57c784dd29ff8bcc16b14d864f972006e41922f8ee8d04404e672056b326eb678e2e39df0161568aace2aeca2a569be49d2d9c
2 parents df101fb + fb77972 commit 4a9dcef

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)