iriscouch / follow

Very stable, very reliable, NodeJS CouchDB _changes follower

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hangs and never resumes

joeledwards opened this issue · comments

I have run into a situation where changes stop streaming and follow never resumes. I witness this regularaly when running the following (takes some time to hang):

npx @buzuli/ops-tools couch-follow -i -F https://replicate.npmjs.com

I am monitoring error events and never see any. Perhaps running this on a laptop which will sleep/wake and switch networks regularly is related. My understanding is that follow is expected to handle this sort of behavior cleanly.

Perhaps there are other events I can hook into which might help me debug next time I run into this issue?