move from continuous replication to unload server

9 views
Skip to first unread message

Louis R

unread,
Jun 11, 2016, 8:24:20 AM6/11/16
to PouchDB
Hi,

as you are about to see I am new to this. But I need some help.

I have an hybrid app, where I am using pouchDB to sync to a Cloudant couchDB database.

I am using continuous replication for now : 
function (pouchDB) {
        'use strict';

        var usersDatabase = pouchDB('boaine_users'),
            remote = 'https://ididi:pwd...@myaccount.cloudant.com/boaine_users',
            opts = {
                live: true,
                retry: true
            };
        usersDatabase.replicate.to(remote, opts);
        usersDatabase.replicate.from(remote, opts);

        return usersDatabase;
    }

but Cloudant support told me that the replication is very chatty and I would like to limit the number of request.

Can you help me please ?

Thanks

Reply all
Reply to author
Forward
0 new messages