persistence - How can I implement persistent/fault-tolerant replication using PouchDB? -
PouchDB of Of course, you can apply your own retry algorithm, but this requires a basic number of work. Is there a plugin that we can use? I've just been released, continued a plugin for replication with this plugin, you just You can also listen for repeat () functions fault are not tolerant and if you open your Internet Replication Will have to face connection or some network barriers, whenever you have an internet connection, you need your app to replicate the data.
var db = new PouchDB ('todos'); // instead db.replicate () var persist = db.persist ({url: 'http: // localhost: 5984 / todos'});
connect and
disconnected events.
Comments
Post a Comment