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
max_concurrent_per_repo=0 passes validation and stalls Git requests #79
server.max_concurrent_per_repo = 0 passes configuration validation but creates a semaphore with no permits, causing Git requests to wait indefinitely.
Current behavior
Validation accepts zero for the per-repository concurrency setting. The request middleware then constructs a zero-permit semaphore, so no request can acquire a permit and clients stall without useful progress or an immediate configuration error.
Expected behavior
Configuration validation should reject zero, or zero should have a clearly defined non-blocking meaning such as disabling the limit.
Suggested implementation
Require max_concurrent_per_repo to be greater than zero during validation and add a regression test for the invalid configuration. Rejecting zero is preferable unless an unlimited sentinel is intentionally documented and implemented.
Activity
behinddwalls commentedon Sep 30, 2026
Draft fix: #87
This PR is part of the ordered draft stack #85 through #92.
Reject zero per-repo concurrency