summaryrefslogtreecommitdiff
path: root/plugins/http/config/http.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-25 14:50:21 +0300
committerValery Piashchynski <[email protected]>2021-01-25 14:50:21 +0300
commitbb9e34db0f96295c5c2104262f43a3ab0edbc060 (patch)
treea9b0b99a36b796fdeaac130c9330de10aa4d5c0e /plugins/http/config/http.go
parent709f7223fca5e60793ad9b3192f92a554854d6ee (diff)
Add new Supervisor test in the http plugin
Uniform supervisor config keys to use same notation as pool (10s, 10h not just 10)
Diffstat (limited to 'plugins/http/config/http.go')
-rw-r--r--plugins/http/config/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/config/http.go b/plugins/http/config/http.go
index a8b1e8e3..bfbc1af6 100644
--- a/plugins/http/config/http.go
+++ b/plugins/http/config/http.go
@@ -72,7 +72,7 @@ func (c *HTTP) InitDefaults() error {
// default pool
c.Pool = &poolImpl.Config{
Debug: false,
- NumWorkers: int64(runtime.NumCPU()),
+ NumWorkers: uint64(runtime.NumCPU()),
MaxJobs: 1000,
AllocateTimeout: time.Second * 60,
DestroyTimeout: time.Second * 60,