You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 45a0635
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/configuration.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,8 @@ Every flag has an environment-variable equivalent.
19
19
|`--auth-ttl-seconds`|`GITCACHEPROXY_AUTH_TTL_SECONDS`|`0`| Reuse a validation verdict per `(credential, repo)` for this many seconds, so the requests of one clone, or repeated submodule fetches, validate once (`0` = validate every request) |
20
20
|`--auth-max-concurrent`|`GITCACHEPROXY_AUTH_MAX_CONCURRENT`|`32`| Max token-validation requests in flight; a check waits up to `--auth-timeout-seconds` for a slot, then fails with 503 (`0` = unlimited) |
21
21
|`--auth-allow-http`|`GITCACHEPROXY_AUTH_ALLOW_HTTP`|`false`| Provider modes: accept a plain `http://` validation endpoint, which sends client credentials in cleartext |
22
+
|`--upstream-timeout-seconds`|`GITCACHEPROXY_UPSTREAM_TIMEOUT_SECONDS`|`3600`| Positive total budget per clone, full-ref fetch or SHA backfill, including all attempts and retry delays |
22
23
|`--fetch-ttl-seconds`|`GITCACHEPROXY_FETCH_TTL_SECONDS`|`10`| Skip upstream fetch if the last one started within this window (`0` = always fetch) |
23
-
|`--max-stale-seconds`|`GITCACHEPROXY_MAX_STALE_SECONDS`|`0`| Maximum age of cached refs served during background refresh (`0` = disabled) |
24
-
|`--max-background-fetches`|`GITCACHEPROXY_MAX_BACKGROUND_FETCHES`|`4`| Maximum concurrent background refreshes (at least `1`) |
|`--max-concurrent-upload-packs`|`GITCACHEPROXY_MAX_CONCURRENT_UPLOAD_PACKS`|`0`| Max concurrent `git upload-pack` processes, held until each exits; bounds `pack-objects` memory. Clones waiting for a slot hold a `--max-concurrent-requests` slot (`0` = unlimited) |
27
26
|`--max-decoded-body-mb`|`GITCACHEPROXY_MAX_DECODED_BODY_MB`|`512`| Cap on a decoded upload-pack request body, in MiB (bounds memory / gzip bombs) |
0 commit comments