Update fiat price every minute instead of every hour.

This commit is contained in:
softsimon 2021-05-12 15:09:48 +04:00
parent 12c99b86b7
commit f20c73af7b
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

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();
}