diff --git a/index.js b/index.js index 5ca61a9..252134a 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ const formatDelay = require('./scripts/formatDelay.js'); const log = require('./scripts/log.js'); const MAIN_DELAY = process.env.NODE_ENV === 'production' - ? 4 * 60 * 60 * 1000 + ? 3 * 60 * 60 * 1000 : 8 * 1000; const REPORTED_IP_COOLDOWN_MS = 7 * 60 * 60 * 1000; diff --git a/scripts/payload.js b/scripts/payload.js index e4a3063..f1ec4dd 100644 --- a/scripts/payload.js +++ b/scripts/payload.js @@ -3,7 +3,7 @@ const query = `query ListFirewallEvents($zoneTag: string, $filter: FirewallEvent zones(filter: { zoneTag: $zoneTag }) { firewallEventsAdaptive( filter: $filter, - limit: 700, + limit: 800, orderBy: [datetime_DESC] ) { action