mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-27 02:02:10 +01:00
increase timeout to 15min
This commit is contained in:
parent
5060345809
commit
3dab14e3b7
@ -58,8 +58,8 @@ export class StratumV1Service implements OnModuleInit {
|
||||
|
||||
private startSocketServer(port: number) {
|
||||
const server = new Server(async (socket: Socket) => {
|
||||
// Set 5-minute timeout
|
||||
socket.setTimeout(1000 * 60 * 5);
|
||||
// Set 15-minute timeout
|
||||
socket.setTimeout(1000 * 60 * 15);
|
||||
|
||||
const client = new StratumV1Client(
|
||||
socket,
|
||||
|
Loading…
x
Reference in New Issue
Block a user