diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-31 15:08:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-31 15:08:55 +0300 |
commit | ea1dcaef18edf97b3ac73892d64ebaf5eecd7f68 (patch) | |
tree | 4ffca65c5590a6bb6ea6f72efda3feaf7be45ec2 /workhorse/main.go | |
parent | 2c6c1c4dce92b5ef64c357156c9a27656e8bdbb8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/main.go')
-rw-r--r-- | workhorse/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workhorse/main.go b/workhorse/main.go index 28162a00fae..47ab63a875a 100644 --- a/workhorse/main.go +++ b/workhorse/main.go @@ -102,7 +102,7 @@ func buildConfig(arg0 string, args []string) (*bootConfig, *config.Config, error fset.UintVar(&cfg.APILimit, "apiLimit", 0, "Number of API requests allowed at single time") fset.UintVar(&cfg.APIQueueLimit, "apiQueueLimit", 0, "Number of API requests allowed to be queued") fset.DurationVar(&cfg.APIQueueTimeout, "apiQueueDuration", queueing.DefaultTimeout, "Maximum queueing duration of requests") - fset.DurationVar(&cfg.APICILongPollingDuration, "apiCiLongPollingDuration", 50*time.Second, "Long polling duration for job requesting for runners (default 50s - enabled)") + fset.DurationVar(&cfg.APICILongPollingDuration, "apiCiLongPollingDuration", 50, "Long polling duration for job requesting for runners (default 50s - enabled)") fset.BoolVar(&cfg.PropagateCorrelationID, "propagateCorrelationID", false, "Reuse existing Correlation-ID from the incoming request header `X-Request-ID` if present") if err := fset.Parse(args); err != nil { |