remove timeout

This commit is contained in:
Ben Wilson
2023-08-09 10:18:46 -04:00
parent 0eaffaf9f7
commit 35d09ec730
+4 -4
View File
@@ -42,10 +42,10 @@ export class StratumV1Service implements OnModuleInit {
private startSocketServer() { private startSocketServer() {
const server = new Server(async (socket: Socket) => { const server = new Server(async (socket: Socket) => {
socket.setTimeout(5000, () => { // socket.setTimeout(5000, () => {
console.log(`Client ${client.extraNonceAndSessionId} timeout`); // console.log(`Client ${client.extraNonceAndSessionId} timeout`);
socket.destroy(); // socket.destroy();
}); // });
const client = new StratumV1Client( const client = new StratumV1Client(
socket, socket,