(ws cobra to sentry) handle null events for empty queues

This commit is contained in:
Benjamin Sergeant 2019-12-28 10:16:18 -08:00
parent 47a3736b24
commit d89d152ad7
3 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,10 @@
# Changelog
All changes to this project will be documented in this file.
## [7.8.5] - 2019-12-28
(ws cobra to sentry) handle null events for empty queues
## [7.8.4] - 2019-12-27
(ws cobra to sentry) game is picked in a fair manner, so that all games get the same share of sent events

View File

@ -6,4 +6,4 @@
#pragma once
#define IX_WEBSOCKET_VERSION "7.8.4"
#define IX_WEBSOCKET_VERSION "7.8.5"

View File

@ -146,6 +146,11 @@ namespace ix
{
Json::Value msg = queueManager.pop();
while (msg.isNull())
{
msg = queueManager.pop();
if (stop) return;
}
if (stop) return;
auto ret = sentryClient.send(msg, verbose);