mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-29 03:02:22 +01:00
remove timeout
This commit is contained in:
parent
0eaffaf9f7
commit
35d09ec730
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user