{"action":"closed","number":38,"pull_request":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/38","id":43606936,"html_url":"https://github.com/nolanlawson/pouchdb-replication-stream/pull/38","diff_url":"https://github.com/nolanlawson/pouchdb-replication-stream/pull/38.diff","patch_url":"https://github.com/nolanlawson/pouchdb-replication-stream/pull/38.patch","issue_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/issues/38","number":38,"state":"closed","locked":false,"title":"Add known pitfalls to README","user":{"login":"ssured","id":2558804,"avatar_url":"https://avatars.githubusercontent.com/u/2558804?v=3","gravatar_id":"","url":"https://api.github.com/users/ssured","html_url":"https://github.com/ssured","followers_url":"https://api.github.com/users/ssured/followers","following_url":"https://api.github.com/users/ssured/following{/other_user}","gists_url":"https://api.github.com/users/ssured/gists{/gist_id}","starred_url":"https://api.github.com/users/ssured/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssured/subscriptions","organizations_url":"https://api.github.com/users/ssured/orgs","repos_url":"https://api.github.com/users/ssured/repos","events_url":"https://api.github.com/users/ssured/events{/privacy}","received_events_url":"https://api.github.com/users/ssured/received_events","type":"User","site_admin":false},"body":"Today I hit the described error. The replication protocol will try to fetch all attachments at once. As the global maxSockets setting is Infinity, CouchDB will be hit by an explosion of requests. My setup allowed for 200 attachments to be read at once. If the doc had more attachments then 400 errors started appearing (which is a bug in CouchDB) which would stop the stream. Limiting the global config solved my issue.","created_at":"2015-08-28T08:59:37Z","updated_at":"2015-08-29T01:50:07Z","closed_at":"2015-08-29T01:50:07Z","merged_at":"2015-08-29T01:50:07Z","merge_commit_sha":"0359725210ded68a5065c758ea062fe1cd552a92","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/38/commits","review_comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/38/comments","review_comment_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/issues/38/comments","statuses_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/statuses/4a1f4c68bc5f53025c9d3da06226a279f7eb7dc4","head":{"label":"ssured:patch-1","ref":"patch-1","sha":"4a1f4c68bc5f53025c9d3da06226a279f7eb7dc4","user":{"login":"ssured","id":2558804,"avatar_url":"https://avatars.githubusercontent.com/u/2558804?v=3","gravatar_id":"","url":"https://api.github.com/users/ssured","html_url":"https://github.com/ssured","followers_url":"https://api.github.com/users/ssured/followers","following_url":"https://api.github.com/users/ssured/following{/other_user}","gists_url":"https://api.github.com/users/ssured/gists{/gist_id}","starred_url":"https://api.github.com/users/ssured/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssured/subscriptions","organizations_url":"https://api.github.com/users/ssured/orgs","repos_url":"https://api.github.com/users/ssured/repos","events_url":"https://api.github.com/users/ssured/events{/privacy}","received_events_url":"https://api.github.com/users/ssured/received_events","type":"User","site_admin":false},"repo":{"id":41537106,"name":"pouchdb-replication-stream","full_name":"ssured/pouchdb-replication-stream","owner":{"login":"ssured","id":2558804,"avatar_url":"https://avatars.githubusercontent.com/u/2558804?v=3","gravatar_id":"","url":"https://api.github.com/users/ssured","html_url":"https://github.com/ssured","followers_url":"https://api.github.com/users/ssured/followers","following_url":"https://api.github.com/users/ssured/following{/other_user}","gists_url":"https://api.github.com/users/ssured/gists{/gist_id}","starred_url":"https://api.github.com/users/ssured/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssured/subscriptions","organizations_url":"https://api.github.com/users/ssured/orgs","repos_url":"https://api.github.com/users/ssured/repos","events_url":"https://api.github.com/users/ssured/events{/privacy}","received_events_url":"https://api.github.com/users/ssured/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssured/pouchdb-replication-stream","description":"Replicate PouchDB/CouchDB databases with Node.js-style streams","fork":true,"url":"https://api.github.com/repos/ssured/pouchdb-replication-stream","forks_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/forks","keys_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/teams","hooks_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/hooks","issue_events_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/issues/events{/number}","events_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/events","assignees_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/assignees{/user}","branches_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/branches{/branch}","tags_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/tags","blobs_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/statuses/{sha}","languages_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/languages","stargazers_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/stargazers","contributors_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/contributors","subscribers_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/subscribers","subscription_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/subscription","commits_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/contents/{+path}","compare_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/merges","archive_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/downloads","issues_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/issues{/number}","pulls_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/pulls{/number}","milestones_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/milestones{/number}","notifications_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/labels{/name}","releases_url":"https://api.github.com/repos/ssured/pouchdb-replication-stream/releases{/id}","created_at":"2015-08-28T08:49:35Z","updated_at":"2015-08-28T08:49:35Z","pushed_at":"2015-08-28T08:56:33Z","git_url":"git://github.com/ssured/pouchdb-replication-stream.git","ssh_url":"git@github.com:ssured/pouchdb-replication-stream.git","clone_url":"https://github.com/ssured/pouchdb-replication-stream.git","svn_url":"https://github.com/ssured/pouchdb-replication-stream","homepage":"","size":31437,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nolanlawson:master","ref":"master","sha":"1505525aa49697b8c247920ef3606057a2c5847d","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"repo":{"id":23744612,"name":"pouchdb-replication-stream","full_name":"nolanlawson/pouchdb-replication-stream","owner":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nolanlawson/pouchdb-replication-stream","description":"Replicate PouchDB/CouchDB databases with Node.js-style streams","fork":false,"url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream","forks_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/forks","keys_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/teams","hooks_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/hooks","issue_events_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/issues/events{/number}","events_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/events","assignees_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/assignees{/user}","branches_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/branches{/branch}","tags_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/tags","blobs_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/git/refs{/sha}","trees_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/statuses/{sha}","languages_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/languages","stargazers_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/stargazers","contributors_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/contributors","subscribers_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/subscribers","subscription_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/subscription","commits_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/commits{/sha}","git_commits_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/git/commits{/sha}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/comments{/number}","issue_comment_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/issues/comments{/number}","contents_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/contents/{+path}","compare_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/merges","archive_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/downloads","issues_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/issues{/number}","pulls_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls{/number}","milestones_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/milestones{/number}","notifications_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/labels{/name}","releases_url":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/releases{/id}","created_at":"2014-09-06T20:29:46Z","updated_at":"2015-08-20T14:18:56Z","pushed_at":"2015-08-29T01:50:07Z","git_url":"git://github.com/nolanlawson/pouchdb-replication-stream.git","ssh_url":"git@github.com:nolanlawson/pouchdb-replication-stream.git","clone_url":"https://github.com/nolanlawson/pouchdb-replication-stream.git","svn_url":"https://github.com/nolanlawson/pouchdb-replication-stream","homepage":"","size":31773,"stargazers_count":55,"watchers_count":55,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":5,"forks":13,"open_issues":5,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/38"},"html":{"href":"https://github.com/nolanlawson/pouchdb-replication-stream/pull/38"},"issue":{"href":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/issues/38"},"comments":{"href":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/nolanlawson/pouchdb-replication-stream/statuses/4a1f4c68bc5f53025c9d3da06226a279f7eb7dc4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":13,"deletions":0,"changed_files":1}}