Markets API: Adding cache for general /ticker requests

This commit is contained in:
softsimon
2020-09-19 23:02:02 +07:00
parent 84f0ebaba6
commit 508b5c0f4e
2 changed files with 11 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ class Bisq {
}
const time = new Date().getTime() - start;
if (marketsDataUpdated) {
bisqMarket.updateCache();
console.log('Bisq market data updated in ' + time + ' ms');
}
} catch (e) {