diff options
author | Wolfy-J <[email protected]> | 2018-06-12 21:13:54 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-12 21:13:54 +0300 |
commit | 47aa87a1cd438c6c99a4640f6af60fd408b5c3bc (patch) | |
tree | b405ad7e1d3e6810c818be47a9cf67b7a534053c /service/http/rpc.go | |
parent | 99c1121d8fd31b7b61b6c22e181dc3c05a3f9f82 (diff) |
improved worker watching
Diffstat (limited to 'service/http/rpc.go')
-rw-r--r-- | service/http/rpc.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/service/http/rpc.go b/service/http/rpc.go index fc6aa65b..aebc5903 100644 --- a/service/http/rpc.go +++ b/service/http/rpc.go @@ -34,12 +34,7 @@ func (rpc *rpcServer) Reset(reset bool, r *string) error { } *r = "OK" - - for _, w := range rpc.svc.rr.Workers() { - w.Kill() - } - - return nil //rpc.svc.rr.Reset() + return rpc.svc.rr.Reset() } // Workers returns list of active workers and their stats. |