Update fiat price every minute instead of every hour.

This commit is contained in:
softsimon committed 2021-05-12 15:09:48 +04:00
1 parent 96a85d5d31
commit 9f3d8198d9
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}