couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ning Tan <ning...@gmail.com>
Subject Re: changes continuous feed hangs even with heartbeat specified
Date Thu, 11 Aug 2011 23:56:03 GMT
Never mind. I think I forgot to escape the URL properly on the command line.

On Thu, Aug 11, 2011 at 4:55 PM, Ning Tan <ningtan@gmail.com> wrote:
> Hello,
>
> We have a 1.0.1 CouchDB database. If I issue a "curl -X GET
> http://myserver:5984/mydb/_changes?feed=continuous&heartbeat=5000&since=226234",
> the feed is fine up to a point where I receive a { "lastSeq": 235464 }
> line, and then the connection just hangs.
>
> The fact that the last line was different from all the other ones
> leads me to believe there is some Couchdb protocol I'm not aware of.
> Am I supposed to reconnect when I see a line like this?
>
> Has anybody seen this behavior?
>
> Thanks!
>

Mime
View raw message