(d map[string]interface{})
| 174 | } |
| 175 | |
| 176 | func (t *cmdProxy) handleForceGC(d map[string]interface{}) { |
| 177 | c := t.newProxyClient(true) |
| 178 | |
| 179 | log.Debugf("call rpc forcegc to proxy %s", t.addr) |
| 180 | if err := c.ForceGC(); err != nil { |
| 181 | log.PanicErrorf(err, "call rpc forcegc to proxy %s failed", t.addr) |
| 182 | } |
| 183 | log.Debugf("call rpc forcegc OK") |
| 184 | } |
| 185 | |
| 186 | func (t *cmdProxy) handleShutdown(d map[string]interface{}) { |
| 187 | c := t.newProxyClient(true) |
no test coverage detected