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