Skip to content

Commit c4239eb

Browse files
committed
fix: [#1452] increase IP bans reset interval to 24 hours
1 parent f4c5ea9 commit c4239eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/udp-tracker-server/src/server/launcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use crate::server::bound_socket::BoundSocket;
2323
use crate::server::processor::Processor;
2424
use crate::server::receiver::Receiver;
2525

26-
const IP_BANS_RESET_INTERVAL_IN_SECS: u64 = 3600;
26+
const IP_BANS_RESET_INTERVAL_IN_SECS: u64 = 3600 * 24;
2727

2828
const TYPE_STRING: &str = "udp_tracker";
2929
/// A UDP server instance launcher.

0 commit comments

Comments
 (0)