Please sign in to comment.
Avoid race condition registering filters on startup
It was possible for a persistent push replication to start running on startup before the app had a chance to install filter blocks. This meant the replication would ignore the filter and send all documents, which is pretty bad. * Changed TDPusher to make a missing filter function an error. * Changed TD_Server to wait till the next runloop iteration to start the replicator, giving the caller time to set up filters and validations. Fixes #193.
- Loading branch information...
Showing with 41 additions and 11 deletions.