Correct timer to get actual time to update bisq market data.
This commit is contained in:
parent
d0b3b240e6
commit
e8de73cfbc
@ -91,9 +91,9 @@ class Bisq {
|
|||||||
this.tradesLastMtime = tradesMtime;
|
this.tradesLastMtime = tradesMtime;
|
||||||
marketsDataUpdated = true;
|
marketsDataUpdated = true;
|
||||||
}
|
}
|
||||||
const time = new Date().getTime() - start;
|
|
||||||
if (marketsDataUpdated) {
|
if (marketsDataUpdated) {
|
||||||
bisqMarket.updateCache();
|
bisqMarket.updateCache();
|
||||||
|
const time = new Date().getTime() - start;
|
||||||
console.log('Bisq market data updated in ' + time + ' ms');
|
console.log('Bisq market data updated in ' + time + ' ms');
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user