{"action":"created","issue":{"url":"https://api.github.com/repos/bda-research/node-crawler/issues/255","repository_url":"https://api.github.com/repos/bda-research/node-crawler","labels_url":"https://api.github.com/repos/bda-research/node-crawler/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/bda-research/node-crawler/issues/255/comments","events_url":"https://api.github.com/repos/bda-research/node-crawler/issues/255/events","html_url":"https://github.com/bda-research/node-crawler/issues/255","id":292193330,"number":255,"title":"Simple question on Max connections","user":{"login":"WAINGOR","id":19747468,"avatar_url":"https://avatars1.githubusercontent.com/u/19747468?v=4","gravatar_id":"","url":"https://api.github.com/users/WAINGOR","html_url":"https://github.com/WAINGOR","followers_url":"https://api.github.com/users/WAINGOR/followers","following_url":"https://api.github.com/users/WAINGOR/following{/other_user}","gists_url":"https://api.github.com/users/WAINGOR/gists{/gist_id}","starred_url":"https://api.github.com/users/WAINGOR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WAINGOR/subscriptions","organizations_url":"https://api.github.com/users/WAINGOR/orgs","repos_url":"https://api.github.com/users/WAINGOR/repos","events_url":"https://api.github.com/users/WAINGOR/events{/privacy}","received_events_url":"https://api.github.com/users/WAINGOR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"darrenqc","id":5037802,"avatar_url":"https://avatars2.githubusercontent.com/u/5037802?v=4","gravatar_id":"","url":"https://api.github.com/users/darrenqc","html_url":"https://github.com/darrenqc","followers_url":"https://api.github.com/users/darrenqc/followers","following_url":"https://api.github.com/users/darrenqc/following{/other_user}","gists_url":"https://api.github.com/users/darrenqc/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenqc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenqc/subscriptions","organizations_url":"https://api.github.com/users/darrenqc/orgs","repos_url":"https://api.github.com/users/darrenqc/repos","events_url":"https://api.github.com/users/darrenqc/events{/privacy}","received_events_url":"https://api.github.com/users/darrenqc/received_events","type":"User","site_admin":false},"assignees":[{"login":"darrenqc","id":5037802,"avatar_url":"https://avatars2.githubusercontent.com/u/5037802?v=4","gravatar_id":"","url":"https://api.github.com/users/darrenqc","html_url":"https://github.com/darrenqc","followers_url":"https://api.github.com/users/darrenqc/followers","following_url":"https://api.github.com/users/darrenqc/following{/other_user}","gists_url":"https://api.github.com/users/darrenqc/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenqc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenqc/subscriptions","organizations_url":"https://api.github.com/users/darrenqc/orgs","repos_url":"https://api.github.com/users/darrenqc/repos","events_url":"https://api.github.com/users/darrenqc/events{/privacy}","received_events_url":"https://api.github.com/users/darrenqc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-01-28T10:08:14Z","updated_at":"2018-02-01T08:38:38Z","closed_at":null,"author_association":"NONE","body":"Hi all, I am fairly new to crawler and I was wondering: what does the maxconnections setting do, and why is it there? Greets"},"comment":{"url":"https://api.github.com/repos/bda-research/node-crawler/issues/comments/362195906","html_url":"https://github.com/bda-research/node-crawler/issues/255#issuecomment-362195906","issue_url":"https://api.github.com/repos/bda-research/node-crawler/issues/255","id":362195906,"user":{"login":"darrenqc","id":5037802,"avatar_url":"https://avatars2.githubusercontent.com/u/5037802?v=4","gravatar_id":"","url":"https://api.github.com/users/darrenqc","html_url":"https://github.com/darrenqc","followers_url":"https://api.github.com/users/darrenqc/followers","following_url":"https://api.github.com/users/darrenqc/following{/other_user}","gists_url":"https://api.github.com/users/darrenqc/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenqc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenqc/subscriptions","organizations_url":"https://api.github.com/users/darrenqc/orgs","repos_url":"https://api.github.com/users/darrenqc/repos","events_url":"https://api.github.com/users/darrenqc/events{/privacy}","received_events_url":"https://api.github.com/users/darrenqc/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T08:38:38Z","updated_at":"2018-02-01T08:38:38Z","author_association":"CONTRIBUTOR","body":"`maxconnections = ratelimit === 0 ? 1 : maxconnections` Assume that maxconnections is 5, you have sent 5 requests with crawler and none of the requests has received its reponse, now you try to send the 6th request with crawler, crawler will wait until any one of the previous 5 requests receives it response. You can take that as a connection pool with size `maxconnections`."}}
{"actor":{"display_login":"darrenqc"}}