TSG-14945: 输出Application and Protocol Metrics

This commit is contained in:
刘学利
2023-06-02 08:19:50 +00:00
parent 2adf35914f
commit 380733e78b
15 changed files with 751 additions and 244 deletions

View File

@@ -126,8 +126,7 @@ unsigned short get_redis_port(char *redis_port_range)
}
else
{
int ret=sscanf(buf, "%hu-%hu", &s_port, &e_port);
assert(ret==2);
sscanf(buf, "%hu-%hu", &s_port, &e_port);
}
for(int i=s_port; i<=e_port && port_num<32; i++)