mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
Keep SV1 client entity during cleanup
This commit is contained in:
@@ -115,7 +115,6 @@ export class StratumV1Client {
|
|||||||
if (this.clientEntity?.id) {
|
if (this.clientEntity?.id) {
|
||||||
const clientId = this.clientEntity.id;
|
const clientId = this.clientEntity.id;
|
||||||
const address = this.clientEntity.address;
|
const address = this.clientEntity.address;
|
||||||
this.clientEntity = null;
|
|
||||||
await this.redisMessagingService?.removeClientPresence(clientId, address);
|
await this.redisMessagingService?.removeClientPresence(clientId, address);
|
||||||
await this.clientService.delete(clientId);
|
await this.clientService.delete(clientId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user