tweak timeout and starting diff

This commit is contained in:
Benjamin Wilson
2024-12-22 10:03:03 -05:00
parent d513dab932
commit 912ae9fe85
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -44,8 +44,8 @@ export class StratumV1Service implements OnModuleInit {
private startSocketServer(port: number) {
const server = new Server(async (socket: Socket) => {
//2 min
socket.setTimeout(1000 * 60 * 2);
//5 min
socket.setTimeout(1000 * 60 * 5);
const client = new StratumV1Client(
socket,