You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: readme.md
+2
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,8 @@ All `start` options will be passed directly to `PouchDB.replicate`:
87
87
*`options.maxTimeout` - the retry timeout for the default backoff will never exceed this value (default 600000, 10 min). Set to 0 to allow infinite backoff.
88
88
*`options.back_off_function` - supply your own backoff function. `maxTimeout` has no effect with this option.
89
89
90
+
All write requests will ALWAYS go to the remote db first, and the promise will only resolve after changes are confirmed to have replicated to local. When replication is paused, all read requests will also go to remote. After the initial replication has finished all read requests will come from the local db as long as replication stays active.
0 commit comments