couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirkjan Ochtman <dirk...@ochtman.nl>
Subject Re: [PROPOSAL] Port _db_updates from rcouch to master
Date Wed, 17 Jul 2013 20:22:47 GMT
On Wed, Jul 17, 2013 at 10:00 PM, Jan Lehnardt <jan@apache.org> wrote:
> A database event is one of `created`, `updated`, `deleted`.
>
> The API endpoint supports a `?feed=` parameter with the
> options: `longpoll`, `continuous` and `eventsource`.
>
> A second parameter `timeout=` specifies when the server should
> close the connection.
>
> `longpoll` closes the connection after a single notification.
> It is the default option.
>
> `continuous` keeps a socket open until the specified `timeout`
> or 60 seconds by default.
>
> `eventsource` works like continuous, but sends the data in
> EventSource format. See
> http://dev.w3.org/html5/eventsource/

What about the heartbeat option?

>  - only manual testing of the various API differences due to
>    complications with asynchronous HTTP requests in the JS
>    test suite and total annoyance of overly complicated
>    ibrowse/httpc modules for writing etap tests.
>
> Recommendation to ship this as EXPERIMENTAL until we have tests.

Ugh. I would really like to ship at least one basic test. Is it that hard?

Cheers,

Dirkjan

Mime
View raw message