Skip to content
Snippets Groups Projects
Commit 8ae1e140 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] #1084 WS2P: set connection + request timeouts to 5 seconds

parent 39b9d18b
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,8 @@ export class WS2PServer { ...@@ -35,8 +35,8 @@ export class WS2PServer {
new WS2PServerMessageHandler(this.server), new WS2PServerMessageHandler(this.server),
new WS2PPubkeyLocalAuth(key), new WS2PPubkeyLocalAuth(key),
new WS2PPubkeyRemoteAuth(key), { new WS2PPubkeyRemoteAuth(key), {
connectionTimeout: 100, connectionTimeout: 5000,
requestTimeout: 100 requestTimeout: 5000
}) })
this.connections.push(c) this.connections.push(c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment