mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
remove timeout
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user