diff options
author | Valery Piashchynski <[email protected]> | 2020-12-17 02:34:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-17 02:34:44 +0300 |
commit | 9d5fe4f6a98b30fd73be8259f84fa595ac994a71 (patch) | |
tree | e49c46b03d8facc73e96f1b6247d83367cc65398 /plugins/http/config.go | |
parent | 1033c25b6bfc752d6059e446510f651e22cbf49b (diff) |
huge refactor
Diffstat (limited to 'plugins/http/config.go')
-rw-r--r-- | plugins/http/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/http/config.go b/plugins/http/config.go index d6efe310..00d2940b 100644 --- a/plugins/http/config.go +++ b/plugins/http/config.go @@ -8,7 +8,7 @@ import ( "time" "github.com/spiral/errors" - "github.com/spiral/roadrunner/v2" + poolImpl "github.com/spiral/roadrunner/v2/pkg/pool" ) type Cidrs []*net.IPNet @@ -56,7 +56,7 @@ type Config struct { Uploads *UploadsConfig // Pool configures worker pool. - Pool *roadrunner.PoolConfig + Pool *poolImpl.Config // Env is environment variables passed to the http pool Env map[string]string @@ -141,7 +141,7 @@ func (c *Config) EnableFCGI() bool { func (c *Config) InitDefaults() error { if c.Pool == nil { // default pool - c.Pool = &roadrunner.PoolConfig{ + c.Pool = &poolImpl.Config{ Debug: false, NumWorkers: int64(runtime.NumCPU()), MaxJobs: 1000, |