(ws) add a --runtime option to ws cobra_subscribe to optionally limit how much time it will run

This commit is contained in:
Benjamin Sergeant
2020-04-13 19:03:53 -07:00
parent f1c106728b
commit c57cf413fb
5 changed files with 39 additions and 11 deletions

View File

@ -82,7 +82,8 @@ namespace ix
const std::string& filter,
const std::string& position,
bool quiet,
bool fluentd);
bool fluentd,
int runtime);
int ws_cobra_publish_main(const ix::CobraConfig& appkey,
const std::string& channel,