pouchdb-community/pouchdb-load
View on GitHubHandoff to regular replication does not work?
Open
#39 opened on Dec 17, 2015
help wanted
Repository metrics
- Stars
- (123 stars)
- PR merge metrics
- (PR metrics pending)
Description
Hey! I have a remote db with 50,000 docs. When the user starts the webapp for the first time he has to download all docs, so I use pouchdb-load together with express-pouchdb-replication-stream to deliver the stream. The import works but after importing and then enable syncing, pouchdb makes 2000+ requests which takes several minutes. I guess it checks each document, so the proxy function does not work as intended. Here is my code: http://pastebin.com/GciHNH8u And here is the sync function: http://pastebin.com/B2s65X9k