Open revington opened 11 years ago
I want to use follow to listen changes from a couchdb server. If that server dies, I want to follow the changes from a replica.
Code is something like this:
feed.on('retry', function(){ feed.db = getTheNewServerToFollow(); });
Do you think it is correct? Do you think there is a better approach?
I want to use follow to listen changes from a couchdb server. If that server dies, I want to follow the changes from a replica.
Code is something like this:
Do you think it is correct? Do you think there is a better approach?