add cobra metrics publisher + server unittest

This commit is contained in:
Benjamin Sergeant
2019-09-05 21:57:05 -07:00
parent d959d73261
commit e40dda7549
7 changed files with 247 additions and 14 deletions

View File

@ -284,7 +284,6 @@ namespace snake
void handleUnSubscribe(
std::shared_ptr<SnakeConnectionState> state,
std::shared_ptr<ix::WebSocket> ws,
const AppConfig& appConfig,
const nlohmann::json& pdu)
{
// extract subscription_id
@ -333,7 +332,7 @@ namespace snake
}
else if (action == "rtm/unsubscribe")
{
handleUnSubscribe(state, ws, appConfig, pdu);
handleUnSubscribe(state, ws, pdu);
}
else
{