Skip to content

Commit cb53f52

Browse files
authored
changed "connect" timeout from 10s to 30s (#38)
Signed-off-by: Alexander Piskun <[email protected]>
1 parent 6ad9249 commit cb53f52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV HAPROXY_PORT 2375
99
ENV BIND_ADDRESS *
1010
ENV EX_APPS_NET "localhost"
1111
ENV EX_APPS_COUNT 30
12-
ENV TIMEOUT_CONNECT "10s"
12+
ENV TIMEOUT_CONNECT "30s"
1313
ENV TIMEOUT_CLIENT "30s"
1414
ENV TIMEOUT_SERVER "1800s"
1515

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ You should set `BIND_ADDRESS` to the IP on which server with ExApps can accept r
6969

7070
`BIND_ADDRESS`: the address to use for port binding. (Usually needed only for remote installs, **must be accessible from the Nextcloud**)
7171

72-
`TIMEOUT_CONNECT`: timeout for connecting to ExApp, default: **10s**
72+
`TIMEOUT_CONNECT`: timeout for connecting to ExApp, default: **30s**
7373

7474
`TIMEOUT_CLIENT`: timeout for NC to start sending request data to the ExApp, default: **30s**
7575

76-
`TIMEOUT_SERVER`: timeout for ExApp to start responding to NC request, default: **30s**
76+
`TIMEOUT_SERVER`: timeout for ExApp to start responding to NC request, default: **1800s**
7777

7878
`NC_HAPROXY_PASSWORD_FILE`: Specifies path to a file containing the password for HAProxy.
7979

@@ -85,7 +85,7 @@ You should set `BIND_ADDRESS` to the IP on which server with ExApps can accept r
8585

8686
* `EX_APPS_NET`: determines destination of requests to ExApps for HaProxy. Default:`localhost`
8787

88-
* `EX_APPS_COUNT`: determines amount of ports HaProxy will open to proxy requests to ExApps. Default:`50`
88+
* `EX_APPS_COUNT`: determines amount of ports HaProxy will open to proxy requests to ExApps. Default:`30`
8989

9090
### Example when operated on a different host
9191

0 commit comments

Comments
 (0)