5 min socket timeout

This commit is contained in:
Ben 2023-10-03 08:08:00 -04:00
parent 5c230d132e
commit 6dfcad7725

View File

@ -45,8 +45,8 @@ export class StratumV1Service implements OnModuleInit {
private startSocketServer() {
const server = new Server(async (socket: Socket) => {
//1 min
socket.setTimeout(1000 * 60);
//5 min
socket.setTimeout(1000 * 60 * 5);
const client = new StratumV1Client(
socket,