mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-17 21:31:42 +01:00
5 min socket timeout
This commit is contained in:
parent
5c230d132e
commit
6dfcad7725
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user