couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joscha Feth (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-580) Continuous feed closes connection after certain time
Date Thu, 26 Nov 2009 13:13:39 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782886#action_12782886
] 

Joscha Feth commented on COUCHDB-580:
-------------------------------------

Hi Matt,

I see  - Thanks for your hint - sorry I missed that - I added a comment to the book chapter,
hopefully it will also be reflected there, soon.
So as I can see from the options available, I can either set the timeout incredibly high (setting
it to zero does not seem possible, I'd have expected if I give a zero timeout it will stay
open forever?!) or I can use the heartbeat, which has the overhead of sending data (even though
it is only a newline) over the wire every X ms.

Is it planned to support &timeout=0 in future?

> Continuous feed closes connection after certain time
> ----------------------------------------------------
>
>                 Key: COUCHDB-580
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-580
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 0.10
>         Environment: Mac OSX
>            Reporter: Joscha Feth
>
> When listening for changes using the continuous feed, e.g.:
> spreadsheets/_changes?feed=continuous
> it seems as if contrary to what is described here (http://books.couchdb.org/relax/reference/change-notifications),
the connections gets closed after a certain time by couchdb and a
> {"last_seq":XYZ}
> gets sent.
> For sample code, please have a look here: http://stackoverflow.com/questions/1640653/how-do-you-use-couchdb-change-notifications-continuous-changes-from-java/
or use curl.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message