iriscouch / follow

Very stable, very reliable, NodeJS CouchDB _changes follower
Apache License 2.0
393 stars 82 forks source link

Inactivity timeout sometimes triggers immediately #69

Open grimborg opened 9 years ago

grimborg commented 9 years ago

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:

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