mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
https
This commit is contained in:
@@ -42,7 +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();
|
||||
});
|
||||
|
||||
const client = new StratumV1Client(
|
||||
socket,
|
||||
|
||||
Reference in New Issue
Block a user