diff --git a/Dockerfile b/Dockerfile index cf47c69..f3279d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" diff --git a/README.md b/README.md index 61fbabe..49c3e24 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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