Filter stale clients from live miner report

This commit is contained in:
Ben
2026-06-20 23:41:18 -04:00
parent d1fb186e5d
commit bed275fe7b
3 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export class ClientService {
}
public async updateHashRate(id: string, hashRate: number, updatedAt = new Date()) {
return await this.clientRepository.update({ id }, { hashRate, updatedAt });
return await this.clientRepository.update({ id }, { hashRate, updatedAt, deletedAt: null });
}
public async connectedClientCount(): Promise<number> {