projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
20602: Add MaxQueuedRequests config.
[arvados.git]
/
lib
/
service
/
cmd.go
diff --git
a/lib/service/cmd.go
b/lib/service/cmd.go
index 119d66191f889743de2f2407b423ca5f22663c71..1073f421dfa915e54dcb38ff9e3a02ecf7107413 100644
(file)
--- a/
lib/service/cmd.go
+++ b/
lib/service/cmd.go
@@
-157,6
+157,7
@@
func (c *command) RunCommand(prog string, args []string, stdin io.Reader, stdout
&httpserver.RequestLimiter{
Handler: handler,
MaxConcurrent: cluster.API.MaxConcurrentRequests,
+ MaxQueue: cluster.API.MaxQueuedRequests,
Registry: reg}))))))
srv := &httpserver.Server{
Server: http.Server{