From dd58b7729ef0fb9a6ca71d556c6aa31473735130 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Thu, 29 Aug 2024 13:58:56 +0200 Subject: [PATCH] Update --- index.js | 2 +- scripts/payload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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