summaryrefslogtreecommitdiff
path: root/tests/plugins/server
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-23 23:46:09 +0300
committerValery Piashchynski <[email protected]>2021-01-23 23:46:09 +0300
commita0fd0c5f7c8c5e9a45e75e7751576aa107cbb3bb (patch)
tree6c7c2bd425c27891c7b8070711cb37a2c2a0e7ae /tests/plugins/server
parent134277f8d60287c0907843788a654b4667e892ad (diff)
Fix golangci-lint warnings
Diffstat (limited to 'tests/plugins/server')
-rw-r--r--tests/plugins/server/plugin_pipes.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/plugins/server/plugin_pipes.go b/tests/plugins/server/plugin_pipes.go
index f53b228f..5b2cdd96 100644
--- a/tests/plugins/server/plugin_pipes.go
+++ b/tests/plugins/server/plugin_pipes.go
@@ -7,7 +7,6 @@ import (
"github.com/spiral/errors"
"github.com/spiral/roadrunner/v2/pkg/payload"
"github.com/spiral/roadrunner/v2/pkg/pool"
- poolImpl "github.com/spiral/roadrunner/v2/pkg/pool"
"github.com/spiral/roadrunner/v2/pkg/worker"
"github.com/spiral/roadrunner/v2/plugins/config"
"github.com/spiral/roadrunner/v2/plugins/server"
@@ -16,12 +15,12 @@ import (
const ConfigSection = "server"
const Response = "test"
-var testPoolConfig = poolImpl.Config{
+var testPoolConfig = pool.Config{
NumWorkers: 10,
MaxJobs: 100,
AllocateTimeout: time.Second * 10,
DestroyTimeout: time.Second * 10,
- Supervisor: &poolImpl.SupervisorConfig{
+ Supervisor: &pool.SupervisorConfig{
WatchTick: 60,
TTL: 1000,
IdleTTL: 10,