add option to disable request buffering.
If push is allowed, buffering requests can cause issues on slow upstreams. The put requests pile up, and since `proxy_ignore_client_abort` is on... ...the push fails. If you have trouble pushing, set `PROXY_REQUEST_BUFFERING`to false, then fix remainig issues/timeouts. Default is true to not change default behavior.
This commit is contained in:
@@ -97,6 +97,11 @@ ENV MANIFEST_CACHE_DEFAULT_TIME="1h"
|
||||
# Should we allow actions different than pull, default to false.
|
||||
ENV ALLOW_PUSH="false"
|
||||
|
||||
# If push is allowed, buffering requests can cause issues on slow upstreams.
|
||||
# If you have trouble pushing, set this to false first, then fix remainig timouts.
|
||||
# Default is true to not change default behavior.
|
||||
ENV PROXY_REQUEST_BUFFERING="true"
|
||||
|
||||
# Timeouts
|
||||
# ngx_http_core_module
|
||||
ENV SEND_TIMEOUT="60s"
|
||||
|
||||
Reference in New Issue
Block a user