(cobra bots) add a --heartbeat_timeout option to specify when the bot should terminate because no events are received

This commit is contained in:
Benjamin Sergeant
2020-05-06 22:01:48 -07:00
parent c030a62c8b
commit 0772ef7ef5
15 changed files with 58 additions and 14 deletions

View File

@@ -23,6 +23,7 @@ namespace ix
SentryClient& sentryClient,
bool verbose,
bool enableHeartbeat,
int heartBeatTimeout,
int runtime)
{
CobraBot bot;
@@ -81,6 +82,7 @@ namespace ix
filter,
position,
enableHeartbeat,
heartBeatTimeout,
runtime);
}
} // namespace ix