Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 14632 invoked from network); 11 Feb 2010 05:44:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2010 05:44:58 -0000 Received: (qmail 26819 invoked by uid 500); 11 Feb 2010 05:44:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26644 invoked by uid 500); 11 Feb 2010 05:44:56 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 26633 invoked by uid 99); 11 Feb 2010 05:44:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 05:44:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.222.179 as permitted sender) Received: from [209.85.222.179] (HELO mail-pz0-f179.google.com) (209.85.222.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 05:44:47 +0000 Received: by pzk9 with SMTP id 9so1046394pzk.28 for ; Wed, 10 Feb 2010 21:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=IWu05uQ+WS1tJQGYhdztFYnwj3rCDeZc1sSo12OIFwE=; b=xrhPgavPDCU8Td9Xk9C9SOWBONXQdhS/ZtkPA7Zi8mNTZO/htIBLH7dLLwR6lXu4j8 eftJpWzz9heFVNINqbP2LIzTTLnNurlOQFZlbYCFfacn5D8vdd7plz1j7jfB+tPKjtan 9UtgINy8ae2ZwUhZ5hIgYunN5P+Kp+HCP9h24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=HC2TMDDRzLtRjwv/H2zF5gA5d5wEYHwfuPqpIBeqGJohoTAWyb+3SS96tcX/Aaz3fm yQjnDFAIjO1GkCogmi8M1bz+BMKnAqYaLguUK9oV4fFC/nZzFyyxxOwC93nVISrkQzOD KxjT1975sEURHAa40pRN2ceGTV6zjfH1kg3B0= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.142.247.22 with SMTP id u22mr844047wfh.298.1265867066158; Wed, 10 Feb 2010 21:44:26 -0800 (PST) In-Reply-To: References: Date: Wed, 10 Feb 2010 21:44:26 -0800 X-Google-Sender-Auth: 54987164e7e353b2 Message-ID: Subject: Re: Unrelated OS process error seems to timeout continuous _changes api From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Wed, Feb 10, 2010 at 7:37 AM, Erik Huisman wrote: > Hi, > > I am using couchdbx 10.0 on macosx.. > > When i have a continuous connection with the _changes api AND i am using a filter > > i.e. : /changesdb/_changes?feed=continuous&filter=push/apns > > If OS Process has raised an error on a totally unrelated map/reduce view the continuous connection closes when i am posting a document to the changesdb. > > Any id why this happens and how to solve it? > you need to avoid the error in your map reduce function. the best way to do this id to duck-type your code like if (doc.author && doc.author.name) emit(doc.author.name, null) > Cheers > > > > -- Chris Anderson http://jchrisa.net http://couch.io