summaryrefslogtreecommitdiff
path: root/static_pool.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-27 16:06:39 +0300
committerValery Piashchynski <[email protected]>2020-10-27 16:06:39 +0300
commit27392d90f3b208adc5215ce876698650a4188463 (patch)
treedb4c7e348c6b03c478a907cf89c8baaf68195d73 /static_pool.go
parentac5a89d63dbed7e0318c7e70ec1b0fa9c98c198a (diff)
Fix linter warnings
Diffstat (limited to 'static_pool.go')
-rwxr-xr-xstatic_pool.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/static_pool.go b/static_pool.go
index 2337b2fd..be7ad6e3 100755
--- a/static_pool.go
+++ b/static_pool.go
@@ -4,7 +4,6 @@ import (
"context"
"fmt"
"os/exec"
- "sync"
"github.com/spiral/roadrunner/v2/errors"
"github.com/spiral/roadrunner/v2/util"
@@ -28,9 +27,6 @@ type StaticPool struct {
// distributes the events
events *util.EventHandler
- // protects state of worker list, does not affect allocation
- muw sync.RWMutex
-
// manages worker states and TTLs
ww *workerWatcher
}