keep alive

This commit is contained in:
Ben Wilson
2023-08-01 23:19:11 -04:00
parent 3c2509d50b
commit e05ee68b31
+1 -1
View File
@@ -39,7 +39,7 @@ export class StratumV1Service implements OnModuleInit {
}
private startSocketServer() {
new Server(async (s: Socket) => {
new Server({ keepAlive: true, keepAliveInitialDelay: 100 }, async (s: Socket) => {
const promiseSocket = new PromiseSocket(s);