Fix inactive timers flushes #361

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

Inactive timers should publish '0' to backend when deleteTimers == false. When the list is empty no value is sent to the backend ending up with gaps in the reported values.

@mohammedazmy mohammedazmy Even when deleteTimers is set to false, inactive timers are not reported
as "0". This is because timers calculations detects the timer values length.
So to make the inactive timers report '0' when deleteTimers==false, we set
the values to a '[0]' instead of empty list.
83ab1a1
Owner

mrtazz commented Apr 14, 2014

I think it makes sense to have that work the same way the other ones do. Could you also update the tests for this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment