remove timeout

This commit is contained in:
Ben Wilson 2023-08-09 10:18:46 -04:00
parent 0eaffaf9f7
commit 35d09ec730

View File

@ -42,10 +42,10 @@ export class StratumV1Service implements OnModuleInit {
private startSocketServer() {
const server = new Server(async (socket: Socket) => {
socket.setTimeout(5000, () => {
console.log(`Client ${client.extraNonceAndSessionId} timeout`);
socket.destroy();
});
// socket.setTimeout(5000, () => {
// console.log(`Client ${client.extraNonceAndSessionId} timeout`);
// socket.destroy();
// });
const client = new StratumV1Client(
socket,