Don't insert stats in the future
This commit is contained in:
parent
0f9941f0d1
commit
c01c610bb3
@ -33,7 +33,6 @@ class LightningStatsUpdater {
|
|||||||
private async $logStatsDaily(): Promise<void> {
|
private async $logStatsDaily(): Promise<void> {
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
this.setDateMidnight(date);
|
this.setDateMidnight(date);
|
||||||
date.setUTCHours(24);
|
|
||||||
|
|
||||||
logger.info(`Updating latest node stats`);
|
logger.info(`Updating latest node stats`);
|
||||||
const networkGraph = await lightningApi.$getNetworkGraph();
|
const networkGraph = await lightningApi.$getNetworkGraph();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user