Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inactivity timeout sometimes triggers immediately #69

Open
grimborg opened this issue Aug 12, 2015 · 0 comments
Open

Inactivity timeout sometimes triggers immediately #69

grimborg opened this issue Aug 12, 2015 · 0 comments

Comments

@grimborg
Copy link
Contributor

When setting timeout_ms = 60000 and since = 0, the timeout sometimes immediately (on the same second), even if there are changes. This doesn't happen all the time, and I can't manage to reproduce it consistently except on a running system where after ~1day it will consistantly fail.

The way I use it:

  • Create a feed with the specified parameters.
  • Define on_timeout handler which calls removeAllListeners and stop (and deletes the feed).
  • Start the feed.
  • Later, after a (real) timeout, repeat the process.

At some point, the timeout is triggered always immediately. Restarting the process fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant