nerdminer

This commit is contained in:
Ben Wilson
2023-07-22 16:10:25 -04:00
parent c45d666cde
commit b9dc52ebc7
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -294,8 +294,8 @@ export class StratumV1Client extends EasyUnsubscribe {
}
const now = Date.now();
const diffSeconds = (now - time.getTime()) / 1000;
// five minutes
if (diffSeconds > 5 * 60) {
// fifteen minutes
if (diffSeconds > 15 * 60) {
console.log('Watchdog ending session');
this.promiseSocket.socket.emit('end', true);
}