Skip to content

Feature Request: include previous count value when resetting counter #24

Description

@fusionstream

I'm trying to detect if a counter has been reset after a certain number has been reached. For the life of me, I can't figure out a way around this.

Scenario:
Counter increments everytime a server does not respond to a ping. Once counter reaches 7 (and only AT 7), a message is sent.
Once server responds, counter is reset. I am trying to find a way to detect if counter has been reset AFTER reaching 7 on the count.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions