CYCLE_INTERVAL 1 hour

This commit is contained in:
Sefinek 2024-09-08 21:31:19 +02:00
parent 7526aa1eeb
commit 289140e88f

View file

@ -1,6 +1,6 @@
// Main interval of each cycle.
// In production mode, it's 3 hours, and in development mode, it's 8 seconds.
const CYCLE_INTERVAL = process.env.NODE_ENV === 'production' ? 3 * 60 * 60 * 1000 : 8 * 1000;
// In production mode, it's 1 hour, and in development mode, it's 8 seconds.
const CYCLE_INTERVAL = process.env.NODE_ENV === 'production' ? 60 * 60 * 1000 : 8 * 1000;
// The minimum time that must pass after reporting an IP address before it can be reported again.
// The required time is >= 15 minutes, according to AbuseIPDB API limits.