From dev-return-7492-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Nov 26 13:14:03 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 84330 invoked from network); 26 Nov 2009 13:14:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 13:14:03 -0000 Received: (qmail 67046 invoked by uid 500); 26 Nov 2009 13:14:02 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 66948 invoked by uid 500); 26 Nov 2009 13:14:02 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 66935 invoked by uid 99); 26 Nov 2009 13:14:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 13:14:02 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 13:13:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D461234C04C for ; Thu, 26 Nov 2009 05:13:39 -0800 (PST) Message-ID: <1897092105.1259241219574.JavaMail.jira@brutus> Date: Thu, 26 Nov 2009 13:13:39 +0000 (UTC) From: "Joscha Feth (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-580) Continuous feed closes connection after certain time In-Reply-To: <263063641.1259236179585.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.