Reset Stub Cache
Reset Stub Cache
Requestβ
GET /api/reset_rpc_channel/{endpoints}
Descriptionβ
Reset the connection cache of brpc
Path parametersβ
endpoints
all
: clear all cacheshost1:port1,host2:port2
: clear cache of the specified target
Request bodyβ
None
Responseβ
```
{
"msg":"success",
"code":0,
"data": "no cached channel.",
"count":0
}
```
Examplesβ
```
curl http://127.0.0.1:8040/api/reset_rpc_channel/all
```
```
curl http://127.0.0.1:8040/api/reset_rpc_channel/1.1.1.1:8080,2.2.2.2:8080
```