mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
Filter stale clients from live miner report
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user