You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (JIRA)" <ji...@apache.org> on 2010/02/12 03:10:27 UTC
[jira] Updated: (COUCHDB-650) Add "now" option for ?since parameter
on _changes
[ https://issues.apache.org/jira/browse/COUCHDB-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randall Leeds updated COUCHDB-650:
----------------------------------
Attachment: 0001-add-since-now-option-to-continuous-catch-edge-cases-.patch
This patch adds the requested functionality.
Additionally, I took care of some edge cases while I was in there.
1) ?feed=continuous&descending=true now throws an error
2) numeric ?since will clamp to [0, db update_seq] (makes last_seq sane in the out of range cases)
Adds tests for descending=true conflict and since="now".
> Add "now" option for ?since parameter on _changes
> -------------------------------------------------
>
> Key: COUCHDB-650
> URL: https://issues.apache.org/jira/browse/COUCHDB-650
> Project: CouchDB
> Issue Type: Improvement
> Components: HTTP Interface
> Reporter: Randall Leeds
> Priority: Minor
> Attachments: 0001-add-since-now-option-to-continuous-catch-edge-cases-.patch
>
>
> As per a discussion on IRC with mikeal, jan_____, whartung, and rnewson:
> Having _changes?since="now" allows clients to listen to only new changes without making two requests (one to extract seq from /db, and one _changes).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.