mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-28 18:52:16 +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() {
|
private startSocketServer() {
|
||||||
const server = new Server(async (socket: Socket) => {
|
const server = new Server(async (socket: Socket) => {
|
||||||
|
|
||||||
//1 min
|
//5 min
|
||||||
socket.setTimeout(1000 * 60);
|
socket.setTimeout(1000 * 60 * 5);
|
||||||
|
|
||||||
const client = new StratumV1Client(
|
const client = new StratumV1Client(
|
||||||
socket,
|
socket,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user