[
https://issues.apache.org/jira/browse/COUCHDB-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014537#comment-13014537
]
Egbert Teeselink commented on COUCHDB-1115:
-------------------------------------------
Btw, if applied together with
https://issues.apache.org/jira/browse/COUCHDB-1016 the code can be simplified
by using $.couch.replicate() instead of jQuery.ajax().
> Added button to cancel continuous replications
> ----------------------------------------------
>
> Key: COUCHDB-1115
> URL: https://issues.apache.org/jira/browse/COUCHDB-1115
> Project: CouchDB
> Issue Type: Improvement
> Components: Futon
> Reporter: Egbert Teeselink
> Priority: Minor
> Labels: cancel, javascript, replication
>
> In response to a challenge from Jan Lehnart during the Berlin CouchDB
> training, I added a "cancel" link to the status page of Futon, so that
> running continuous replications can be cancelled.
> It can only cancel "vanilla" continuous replications, so ones that use filter
> functions or create_target will not work. I understood from Jan that this is
> fine, because later CouchDB versions will have sessions addressable as
> resources. Until then, this patch can cancel the continuous replications that
> Futon allows you to start.
> I wanted to try out github, so I forked and committed:
> https://github.com/eteeselink/couchdb/commit/e3295ed0d24b221206ef0f1cf75f78946297db31
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira