This commit is contained in:
Ben Wilson
2024-02-17 20:12:09 -05:00
parent 29e0d884e3
commit ed537658ac
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -63,6 +63,7 @@ export class StratumV1ClientStatistics {
this.shares = 0;
this.acceptedCount = 0;
this.currentTimeSlot = timeSlot;
this.lastSave = new Date().getTime();
} else if ((date.getTime() - 60 * 1000) > this.lastSave) {
await this.clientStatisticsService.update({
time: this.currentTimeSlot,