mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
5 min socket timeout
This commit is contained in:
@@ -45,8 +45,8 @@ export class StratumV1Service implements OnModuleInit {
|
||||
private startSocketServer() {
|
||||
const server = new Server(async (socket: Socket) => {
|
||||
|
||||
//1 min
|
||||
socket.setTimeout(1000 * 60);
|
||||
//5 min
|
||||
socket.setTimeout(1000 * 60 * 5);
|
||||
|
||||
const client = new StratumV1Client(
|
||||
socket,
|
||||
|
||||
Reference in New Issue
Block a user