increase job queue

This commit is contained in:
Ben Wilson
2023-08-06 00:21:45 -04:00
parent 06375151c8
commit 3ea836346c
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -316,6 +316,10 @@ export class StratumV1Client {
});
this.backgroundWork = setInterval(async () => {
if (this.promiseSocket.isPromiseWritable == false) {
this.destroy();
return;
}
await this.checkDifficulty();
//await this.watchdog();
}, 60 * 1000);
+1 -1
View File
@@ -127,7 +127,7 @@ export class StratumV1JobsService {
this.jobs = [];
}
if (this.blocks.length >= 10) {
if (this.blocks.length >= 30) {
this.blocks.shift();
}