From ec4783bb29062f2a1362c10542ef05e490001470 Mon Sep 17 00:00:00 2001 From: Dorian Bayart Date: Fri, 16 Aug 2024 23:48:10 +0200 Subject: [PATCH] Request every 15,33 minutes instead of 12 minutes --- cron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.js b/cron.js index 8ebd9af..84c970e 100644 --- a/cron.js +++ b/cron.js @@ -6,7 +6,7 @@ const backFolder = './back' -const MAIN_TIMEOUT = process.env.NODE_ENV === 'production' ? 720000 : 360000 // 12 minutes or 6 minutes +const MAIN_TIMEOUT = process.env.NODE_ENV === 'production' ? 920000 : 360000 // 15,33 minutes or 6 minutes const COINGECKO_TIMEOUT = process.env.NODE_ENV === 'production' ? 25000 : 45000 // 25 or 45 seconds