Sort variables

This commit is contained in:
Sefinek 2024-08-19 11:52:17 +02:00
parent d9edeb1e98
commit d7b05484f5

View file

@ -9,10 +9,10 @@ const { logToCSV, readReportedIPs, wasImageRequestLogged } = require('./scripts/
const formatDelay = require('./scripts/formatDelay.js'); const formatDelay = require('./scripts/formatDelay.js');
const log = require('./scripts/log.js'); const log = require('./scripts/log.js');
const COOLDOWN_MS = 2000;
const REPORTED_IP_COOLDOWN_MS = 7 * 60 * 60 * 1000;
const MAX_URL_LENGTH = 2000;
const MAIN_DELAY = process.env.NODE_ENV === 'production' ? 4 * 60 * 60 * 1000 : 8 * 1000; const MAIN_DELAY = process.env.NODE_ENV === 'production' ? 4 * 60 * 60 * 1000 : 8 * 1000;
const REPORTED_IP_COOLDOWN_MS = 7 * 60 * 60 * 1000;
const COOLDOWN_MS = 2000;
const MAX_URL_LENGTH = 2000;
const fetchBlockedIPs = async () => { const fetchBlockedIPs = async () => {
try { try {