summaryrefslogtreecommitdiff
path: root/service/http/rpc.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/rpc.go')
-rw-r--r--service/http/rpc.go7
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.