(ws cobra to sentry) bound the queue size used to hold up cobra messages before they are sent to sentry. Default queue size is a 100 messages. Without such limit the program runs out of memory when a subscriber receive a lot of messages that cannot make it to sentry

This commit is contained in:
Benjamin Sergeant
2019-12-25 22:15:57 -08:00
parent a805270d02
commit c4e9abfe80
5 changed files with 18 additions and 2 deletions

View File

@ -119,6 +119,7 @@ namespace ix
bool verbose,
bool strict,
int jobs,
size_t maxQueueSize,
const ix::SocketTLSOptions& tlsOptions);
int ws_cobra_metrics_to_redis(const std::string& appkey,