return out of order events for consistency

This commit is contained in:
Brian Gough 2019-03-22 11:19:08 +00:00
parent c5a09fcf0a
commit 6c71ae172b

View file

@ -31,7 +31,7 @@ module.exports = EventLogger =
else
metrics.inc "event.#{channel}.out-of-order"
# logger.error {key:key, previous: previous, count:count, message:message}, "events out of order"
return # out of order
return "out-of-order"
_storeEventCount: (key, count) ->
previous = EVENT_LOG_COUNTER[key]