From f20c73af7b61c02f1e093a6e2fc16723e62eaa45 Mon Sep 17 00:00:00 2001 From: softsimon Date: Wed, 12 May 2021 15:09:48 +0400 Subject: [PATCH] Update fiat price every minute instead of every hour. --- backend/src/api/fiat-conversion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/fiat-conversion.ts b/backend/src/api/fiat-conversion.ts index 7be74f702..29006883a 100644 --- a/backend/src/api/fiat-conversion.ts +++ b/backend/src/api/fiat-conversion.ts @@ -16,7 +16,7 @@ class FiatConversion { public startService() { logger.info('Starting currency rates service'); - setInterval(this.updateCurrency.bind(this), 1000 * 60 * 60); + setInterval(this.updateCurrency.bind(this), 1000 * 60); this.updateCurrency(); }