Skip to content

Commit

Permalink
changed "connect" timeout from 10s to 30s (#38)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <[email protected]>
  • Loading branch information
bigcat88 authored Feb 24, 2025
1 parent 6ad9249 commit cb53f52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV HAPROXY_PORT 2375
ENV BIND_ADDRESS *
ENV EX_APPS_NET "localhost"
ENV EX_APPS_COUNT 30
ENV TIMEOUT_CONNECT "10s"
ENV TIMEOUT_CONNECT "30s"
ENV TIMEOUT_CLIENT "30s"
ENV TIMEOUT_SERVER "1800s"

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ You should set `BIND_ADDRESS` to the IP on which server with ExApps can accept r

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

`TIMEOUT_CONNECT`: timeout for connecting to ExApp, default: **10s**
`TIMEOUT_CONNECT`: timeout for connecting to ExApp, default: **30s**

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

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

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

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

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

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

### Example when operated on a different host

Expand Down

0 comments on commit cb53f52

Please sign in to comment.