diff --git a/ws/ws.cpp b/ws/ws.cpp index a4358d5d..459835a6 100644 --- a/ws/ws.cpp +++ b/ws/ws.cpp @@ -423,7 +423,7 @@ int main(int argc, char** argv) else if (app.got_subcommand("cobra_metrics_to_redis")) { ret = ix::ws_cobra_metrics_to_redis( - appkey, endpoint, rolename, rolesecret, channel, filter, quiet, hostname, redisPort); + appkey, endpoint, rolename, rolesecret, channel, filter, hostname, redisPort); } else if (app.got_subcommand("snake")) { diff --git a/ws/ws.h b/ws/ws.h index cfa22e90..df41be5b 100644 --- a/ws/ws.h +++ b/ws/ws.h @@ -122,7 +122,6 @@ namespace ix const std::string& rolesecret, const std::string& channel, const std::string& filter, - bool quiet, const std::string& host, int port); diff --git a/ws/ws_cobra_metrics_to_redis.cpp b/ws/ws_cobra_metrics_to_redis.cpp index 3b39b941..0f9e49ac 100644 --- a/ws/ws_cobra_metrics_to_redis.cpp +++ b/ws/ws_cobra_metrics_to_redis.cpp @@ -24,7 +24,6 @@ namespace ix const std::string& rolesecret, const std::string& channel, const std::string& filter, - bool quiet, const std::string& host, int port) { @@ -109,7 +108,6 @@ namespace ix &filter, &msgCount, &msgPerSeconds, - &quiet, &conditionVariableMutex, &condition, &queue](ix::CobraConnectionEventType eventType, @@ -132,8 +130,7 @@ namespace ix conn.subscribe(channel, filter, - [&quiet, - &msgPerSeconds, + [&msgPerSeconds, &msgCount, &conditionVariableMutex, &condition,