Skip to content

changed "connect" timeout from 10s to 30s #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -68,11 +68,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.

@@ -84,7 +84,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