From 9443efae461a7d88d1e798b150a308bf822b669f Mon Sep 17 00:00:00 2001 From: Redume Date: Tue, 8 Oct 2024 20:14:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B5?= =?UTF-8?q?=D1=81=D0=BB=D0=B8=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20?= =?UTF-8?q?=D1=81=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=BE=D0=BC=20?= =?UTF-8?q?=D1=82=D0=B0=D0=B9=D0=BC=D0=B0=D1=83=D1=82=D0=B0,=20=D1=82?= =?UTF-8?q?=D0=BE=20=D0=B1=D1=83=D0=B4=D0=B5=D1=82=20=D0=B2=D1=8B=D0=B1?= =?UTF-8?q?=D0=B8=D1=80=D0=B0=D1=82=D1=8C=D1=81=D1=8F=20=D1=82=D0=B0=D0=B9?= =?UTF-8?q?=D0=BC=D0=B0=D1=83=D1=82=20=D0=BD=D0=B0=203=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collect-currency/save_fiat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collect-currency/save_fiat.js b/collect-currency/save_fiat.js index 95eea33..a864b1c 100644 --- a/collect-currency/save_fiat.js +++ b/collect-currency/save_fiat.js @@ -57,7 +57,7 @@ async function save_fiat() { }) .catch((err) => { logger.error(err); - setTimeout(save_fiat, err.config.timeout); + setTimeout(save_fiat, err.config.timeout ? err.config.timeout : 3000); }); }), );