mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-27 02:02:10 +01:00
10min timeout
This commit is contained in:
parent
f6f65ab9dc
commit
0c4190960d
@ -45,6 +45,9 @@ export class StratumV1Service implements OnModuleInit {
|
||||
private startSocketServer() {
|
||||
const server = new Server(async (socket: Socket) => {
|
||||
|
||||
//10 min
|
||||
socket.setTimeout(1000 * 10);
|
||||
|
||||
const client = new StratumV1Client(
|
||||
socket,
|
||||
this.stratumV1JobsService,
|
||||
|
Loading…
x
Reference in New Issue
Block a user