10min timeout

This commit is contained in:
Ben 2023-10-03 07:51:05 -04:00
parent f6f65ab9dc
commit 0c4190960d

View File

@ -45,6 +45,9 @@ export class StratumV1Service implements OnModuleInit {
private startSocketServer() {
const server = new Server(async (socket: Socket) => {
//10 min
socket.setTimeout(1000 * 10);
const client = new StratumV1Client(
socket,
this.stratumV1JobsService,