mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
RPC load reduction
This commit is contained in:
@@ -352,8 +352,7 @@ export class StratumV1Client {
|
||||
}
|
||||
|
||||
|
||||
this.stratumSubscription = this.stratumV1JobsService.newMiningJob$.pipe(
|
||||
).subscribe(async (jobTemplate) => {
|
||||
this.stratumSubscription = this.stratumV1JobsService.newMiningJob$.subscribe(async (jobTemplate) => {
|
||||
try {
|
||||
await this.sendNewMiningJob(jobTemplate);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user