The wiki docs on the _changes feed say that "A continuous feed stays open and connected to the database until explicitly closed” [1]. However, what I’m seeing is that after 60 seconds an entry with a “last-seq” key is sent, and 30 seconds after that the server closes the socket. Here’s a transcript, where the database was otherwise idle while this was running:

$ curl 'http://localhost:5984/demo-addresses/_changes?feed=continuous&since=0’


I’m guessing that, contrary to the docs, there is a default timeout in continuous mode, and I’ll have to add something like “&timeout=9999999999” to the URL to defeat this?

(This is the 1.1.1 CouchBase Server Community Edition, on Mac OS X 10.6.7.)