{"action":"closed","issue":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-load/issues/39","labels_url":"https://api.github.com/repos/nolanlawson/pouchdb-load/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-load/issues/39/comments","events_url":"https://api.github.com/repos/nolanlawson/pouchdb-load/issues/39/events","html_url":"https://github.com/nolanlawson/pouchdb-load/issues/39","id":122783889,"number":39,"title":"Handoff to regular replication does not work?","user":{"login":"nicozimmermann94","id":9193934,"avatar_url":"https://avatars.githubusercontent.com/u/9193934?v=3","gravatar_id":"","url":"https://api.github.com/users/nicozimmermann94","html_url":"https://github.com/nicozimmermann94","followers_url":"https://api.github.com/users/nicozimmermann94/followers","following_url":"https://api.github.com/users/nicozimmermann94/following{/other_user}","gists_url":"https://api.github.com/users/nicozimmermann94/gists{/gist_id}","starred_url":"https://api.github.com/users/nicozimmermann94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicozimmermann94/subscriptions","organizations_url":"https://api.github.com/users/nicozimmermann94/orgs","repos_url":"https://api.github.com/users/nicozimmermann94/repos","events_url":"https://api.github.com/users/nicozimmermann94/events{/privacy}","received_events_url":"https://api.github.com/users/nicozimmermann94/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-17T17:32:46Z","updated_at":"2015-12-17T17:52:00Z","closed_at":"2015-12-17T17:52:00Z","body":"Hey!\r\nI 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:\r\nhttp://pastebin.com/GciHNH8u\r\nAnd here is the sync function:\r\nhttp://pastebin.com/B2s65X9k"}}