mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
insert optimizations
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user