From 8ae1e1405c9f4458244d9955fe611bb159f4a6b7 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Thu, 7 Sep 2017 17:44:02 +0200 Subject: [PATCH] [enh] #1084 WS2P: set connection + request timeouts to 5 seconds --- app/modules/ws2p/lib/WS2PServer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/ws2p/lib/WS2PServer.ts b/app/modules/ws2p/lib/WS2PServer.ts index 241b112da..d3119fcfb 100644 --- a/app/modules/ws2p/lib/WS2PServer.ts +++ b/app/modules/ws2p/lib/WS2PServer.ts @@ -35,8 +35,8 @@ export class WS2PServer { new WS2PServerMessageHandler(this.server), new WS2PPubkeyLocalAuth(key), new WS2PPubkeyRemoteAuth(key), { - connectionTimeout: 100, - requestTimeout: 100 + connectionTimeout: 5000, + requestTimeout: 5000 }) this.connections.push(c) -- GitLab