Update fiat price every minute instead of every hour.
This commit is contained in:
1 parent
96a85d5d31
commit
9f3d8198d9
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user