Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/middleware/limithandler/concurrency_limiter.go')
-rw-r--r--internal/middleware/limithandler/concurrency_limiter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/middleware/limithandler/concurrency_limiter.go b/internal/middleware/limithandler/concurrency_limiter.go
index cf552917d..e2595571b 100644
--- a/internal/middleware/limithandler/concurrency_limiter.go
+++ b/internal/middleware/limithandler/concurrency_limiter.go
@@ -276,7 +276,7 @@ func WithConcurrencyLimiters(cfg config.Cfg, middleware *LimiterMiddleware) {
if limit.MaxQueueWait > 0 {
limit := limit
newTickerFunc = func() helper.Ticker {
- return helper.NewTimerTicker(limit.MaxQueueWait)
+ return helper.NewTimerTicker(limit.MaxQueueWait.Duration())
}
}