insert optimizations

This commit is contained in:
Ben Wilson
2023-08-03 23:01:15 -04:00
parent 726b906071
commit 3debb2e3c9
3 changed files with 15 additions and 2 deletions
+2 -1
View File
@@ -280,12 +280,13 @@ export class StratumV1Client extends EasyUnsubscribe {
this.entity = await this.clientService.save({
this.entity = await this.clientService.insert({
sessionId: this.extraNonceAndSessionId,
address: this.clientAuthorization.address,
clientName: this.clientAuthorization.worker,
userAgent: this.clientSubscription.userAgent,
startTime: new Date(),
bestDifficulty: 0
});
this.stratumV1JobsService.newMiningJob$.pipe(