diff options
author | Wolfy-J <[email protected]> | 2018-06-11 11:28:24 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-11 11:28:24 +0300 |
commit | 2f135b359575cc1625d1461bb6d8e478da8ccf54 (patch) | |
tree | 8561f84318c3a291f4a38df6b347954bda777e41 /cmd/rr | |
parent | 6efaa0aa951240c2bb643761f103ee3f0fafb4d9 (diff) |
refactor
Diffstat (limited to 'cmd/rr')
-rw-r--r-- | cmd/rr/.rr.yaml | 2 | ||||
-rw-r--r-- | cmd/rr/debug/listener.go | 2 | ||||
-rw-r--r-- | cmd/rr/http/reset.go | 2 | ||||
-rw-r--r-- | cmd/rr/http/workers.go | 4 | ||||
-rw-r--r-- | cmd/rr/main.go | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml index fd54d03e..752573f6 100644 --- a/cmd/rr/.rr.yaml +++ b/cmd/rr/.rr.yaml @@ -39,7 +39,7 @@ http: maxJobs: 0 # for how long worker is allowed to be bootstrapped. - allocateTimeout: 600000000 + allocateTimeout: 60000000 # amount of time given to worker to gracefully destruct itself. destroyTimeout: 600000000 diff --git a/cmd/rr/debug/listener.go b/cmd/rr/debug/listener.go index 5c9fb559..5239538b 100644 --- a/cmd/rr/debug/listener.go +++ b/cmd/rr/debug/listener.go @@ -2,7 +2,7 @@ package debug import ( "github.com/sirupsen/logrus" - "github.com/spiral/roadrunner/http" + "github.com/spiral/roadrunner/service/http" "github.com/spiral/roadrunner/cmd/rr/utils" "github.com/spiral/roadrunner" ) diff --git a/cmd/rr/http/reset.go b/cmd/rr/http/reset.go index 2583f8cd..907022c3 100644 --- a/cmd/rr/http/reset.go +++ b/cmd/rr/http/reset.go @@ -24,7 +24,7 @@ import ( "errors" "github.com/spf13/cobra" rr "github.com/spiral/roadrunner/cmd/rr/cmd" - "github.com/spiral/roadrunner/rpc" + "github.com/spiral/roadrunner/service/rpc" "github.com/spiral/roadrunner/service" "github.com/spiral/roadrunner/cmd/rr/utils" ) diff --git a/cmd/rr/http/workers.go b/cmd/rr/http/workers.go index 43b78d11..394874fa 100644 --- a/cmd/rr/http/workers.go +++ b/cmd/rr/http/workers.go @@ -28,8 +28,8 @@ import ( "github.com/shirou/gopsutil/process" "github.com/spf13/cobra" rr "github.com/spiral/roadrunner/cmd/rr/cmd" - "github.com/spiral/roadrunner/http" - rrpc "github.com/spiral/roadrunner/rpc" + "github.com/spiral/roadrunner/service/http" + rrpc "github.com/spiral/roadrunner/service/rpc" "github.com/spiral/roadrunner/service" "github.com/spiral/roadrunner/cmd/rr/utils" "net/rpc" diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 945b8fa0..db696904 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -26,9 +26,9 @@ import ( rr "github.com/spiral/roadrunner/cmd/rr/cmd" // services (plugins) - "github.com/spiral/roadrunner/http" - "github.com/spiral/roadrunner/rpc" - "github.com/spiral/roadrunner/static" + "github.com/spiral/roadrunner/service/http" + "github.com/spiral/roadrunner/service/rpc" + "github.com/spiral/roadrunner/service/static" // cli plugins _ "github.com/spiral/roadrunner/cmd/rr/http" |