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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/internal/queueing/requests.go')
-rw-r--r--workhorse/internal/queueing/requests.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/workhorse/internal/queueing/requests.go b/workhorse/internal/queueing/requests.go
index c3df614de41..a6ca98a674a 100644
--- a/workhorse/internal/queueing/requests.go
+++ b/workhorse/internal/queueing/requests.go
@@ -16,7 +16,9 @@ const (
// QueueRequests creates a new request queue
// name specifies the name of queue, used to label Prometheus metrics
-// Don't call QueueRequests twice with the same name argument!
+//
+// Don't call QueueRequests twice with the same name argument!
+//
// h specifies a http.Handler which will handle the queue requests
// limit specifies number of requests run concurrently
// queueLimit specifies maximum number of requests that can be queued