2 * 60 * 60 * 1000

This commit is contained in:
Sefinek 2024-09-11 02:04:55 +02:00
parent 3e81810376
commit e0138fcf8c

View file

@ -1,6 +1,6 @@
// Main interval of each cycle.
// 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;
// In production mode, it's 2 hours, and in development mode, it's 8 seconds.
const CYCLE_INTERVAL = process.env.NODE_ENV === 'production' ? 2 * 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.