mirror of
https://github.com/git-pkgs/proxy.git
synced 2026-11-09 15:49:16 -05:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Holds placed by the rate limit gate are written to a new upstream_holds table, and each instance reads that table at most every two seconds and refuses requests to a host any instance holds. Before, every replica had to get its own 429 before it stopped sending. Instances waiting on a fetch lease reread the holds when the fetch fails, so when the holder was rate limited they answer 503 with its Retry-After instead of each sending one more request to the limited host. |
||
| .. | ||
| access_log.go | ||
| access_log_test.go | ||
| shared_holds.go | ||
| shared_holds_test.go | ||
| token_scope_test.go | ||
| transport.go | ||
| transport_test.go | ||