{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/22","id":66816967,"html_url":"https://github.com/Inist-CNRS/node-sphinxapi/pull/22","diff_url":"https://github.com/Inist-CNRS/node-sphinxapi/pull/22.diff","patch_url":"https://github.com/Inist-CNRS/node-sphinxapi/pull/22.patch","issue_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/issues/22","number":22,"state":"open","locked":false,"title":"On RunQueries(), reset _reqs right after _SendRequest. Not on the callback.","user":{"login":"senxation","id":633617,"avatar_url":"https://avatars.githubusercontent.com/u/633617?v=3","gravatar_id":"","url":"https://api.github.com/users/senxation","html_url":"https://github.com/senxation","followers_url":"https://api.github.com/users/senxation/followers","following_url":"https://api.github.com/users/senxation/following{/other_user}","gists_url":"https://api.github.com/users/senxation/gists{/gist_id}","starred_url":"https://api.github.com/users/senxation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senxation/subscriptions","organizations_url":"https://api.github.com/users/senxation/orgs","repos_url":"https://api.github.com/users/senxation/repos","events_url":"https://api.github.com/users/senxation/events{/privacy}","received_events_url":"https://api.github.com/users/senxation/received_events","type":"User","site_admin":false},"body":"If there are multiple `RunQueries()` calls before the first one have not been finished, `_reqs` remains and affects another calls.","created_at":"2016-04-18T08:44:17Z","updated_at":"2016-04-18T08:44:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/22/commits","review_comments_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/22/comments","review_comment_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/issues/22/comments","statuses_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/statuses/7d3f65782beb7be69363374a7a411f7abc802de3","head":{"label":"senxation:master","ref":"master","sha":"7d3f65782beb7be69363374a7a411f7abc802de3","user":{"login":"senxation","id":633617,"avatar_url":"https://avatars.githubusercontent.com/u/633617?v=3","gravatar_id":"","url":"https://api.github.com/users/senxation","html_url":"https://github.com/senxation","followers_url":"https://api.github.com/users/senxation/followers","following_url":"https://api.github.com/users/senxation/following{/other_user}","gists_url":"https://api.github.com/users/senxation/gists{/gist_id}","starred_url":"https://api.github.com/users/senxation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senxation/subscriptions","organizations_url":"https://api.github.com/users/senxation/orgs","repos_url":"https://api.github.com/users/senxation/repos","events_url":"https://api.github.com/users/senxation/events{/privacy}","received_events_url":"https://api.github.com/users/senxation/received_events","type":"User","site_admin":false},"repo":{"id":56490183,"name":"node-sphinxapi","full_name":"senxation/node-sphinxapi","owner":{"login":"senxation","id":633617,"avatar_url":"https://avatars.githubusercontent.com/u/633617?v=3","gravatar_id":"","url":"https://api.github.com/users/senxation","html_url":"https://github.com/senxation","followers_url":"https://api.github.com/users/senxation/followers","following_url":"https://api.github.com/users/senxation/following{/other_user}","gists_url":"https://api.github.com/users/senxation/gists{/gist_id}","starred_url":"https://api.github.com/users/senxation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senxation/subscriptions","organizations_url":"https://api.github.com/users/senxation/orgs","repos_url":"https://api.github.com/users/senxation/repos","events_url":"https://api.github.com/users/senxation/events{/privacy}","received_events_url":"https://api.github.com/users/senxation/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/senxation/node-sphinxapi","description":"Native javascript implementation of the standard Sphinx API","fork":true,"url":"https://api.github.com/repos/senxation/node-sphinxapi","forks_url":"https://api.github.com/repos/senxation/node-sphinxapi/forks","keys_url":"https://api.github.com/repos/senxation/node-sphinxapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/senxation/node-sphinxapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/senxation/node-sphinxapi/teams","hooks_url":"https://api.github.com/repos/senxation/node-sphinxapi/hooks","issue_events_url":"https://api.github.com/repos/senxation/node-sphinxapi/issues/events{/number}","events_url":"https://api.github.com/repos/senxation/node-sphinxapi/events","assignees_url":"https://api.github.com/repos/senxation/node-sphinxapi/assignees{/user}","branches_url":"https://api.github.com/repos/senxation/node-sphinxapi/branches{/branch}","tags_url":"https://api.github.com/repos/senxation/node-sphinxapi/tags","blobs_url":"https://api.github.com/repos/senxation/node-sphinxapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/senxation/node-sphinxapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/senxation/node-sphinxapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/senxation/node-sphinxapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/senxation/node-sphinxapi/statuses/{sha}","languages_url":"https://api.github.com/repos/senxation/node-sphinxapi/languages","stargazers_url":"https://api.github.com/repos/senxation/node-sphinxapi/stargazers","contributors_url":"https://api.github.com/repos/senxation/node-sphinxapi/contributors","subscribers_url":"https://api.github.com/repos/senxation/node-sphinxapi/subscribers","subscription_url":"https://api.github.com/repos/senxation/node-sphinxapi/subscription","commits_url":"https://api.github.com/repos/senxation/node-sphinxapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/senxation/node-sphinxapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/senxation/node-sphinxapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/senxation/node-sphinxapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/senxation/node-sphinxapi/contents/{+path}","compare_url":"https://api.github.com/repos/senxation/node-sphinxapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/senxation/node-sphinxapi/merges","archive_url":"https://api.github.com/repos/senxation/node-sphinxapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/senxation/node-sphinxapi/downloads","issues_url":"https://api.github.com/repos/senxation/node-sphinxapi/issues{/number}","pulls_url":"https://api.github.com/repos/senxation/node-sphinxapi/pulls{/number}","milestones_url":"https://api.github.com/repos/senxation/node-sphinxapi/milestones{/number}","notifications_url":"https://api.github.com/repos/senxation/node-sphinxapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/senxation/node-sphinxapi/labels{/name}","releases_url":"https://api.github.com/repos/senxation/node-sphinxapi/releases{/id}","deployments_url":"https://api.github.com/repos/senxation/node-sphinxapi/deployments","created_at":"2016-04-18T08:25:38Z","updated_at":"2016-04-18T08:25:39Z","pushed_at":"2016-04-18T08:38:12Z","git_url":"git://github.com/senxation/node-sphinxapi.git","ssh_url":"git@github.com:senxation/node-sphinxapi.git","clone_url":"https://github.com/senxation/node-sphinxapi.git","svn_url":"https://github.com/senxation/node-sphinxapi","homepage":"","size":128,"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":"Inist-CNRS:master","ref":"master","sha":"5c49fbd36bb290c74d137bdecf1dfa928cd8085b","user":{"login":"Inist-CNRS","id":11553240,"avatar_url":"https://avatars.githubusercontent.com/u/11553240?v=3","gravatar_id":"","url":"https://api.github.com/users/Inist-CNRS","html_url":"https://github.com/Inist-CNRS","followers_url":"https://api.github.com/users/Inist-CNRS/followers","following_url":"https://api.github.com/users/Inist-CNRS/following{/other_user}","gists_url":"https://api.github.com/users/Inist-CNRS/gists{/gist_id}","starred_url":"https://api.github.com/users/Inist-CNRS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inist-CNRS/subscriptions","organizations_url":"https://api.github.com/users/Inist-CNRS/orgs","repos_url":"https://api.github.com/users/Inist-CNRS/repos","events_url":"https://api.github.com/users/Inist-CNRS/events{/privacy}","received_events_url":"https://api.github.com/users/Inist-CNRS/received_events","type":"Organization","site_admin":false},"repo":{"id":3791676,"name":"node-sphinxapi","full_name":"Inist-CNRS/node-sphinxapi","owner":{"login":"Inist-CNRS","id":11553240,"avatar_url":"https://avatars.githubusercontent.com/u/11553240?v=3","gravatar_id":"","url":"https://api.github.com/users/Inist-CNRS","html_url":"https://github.com/Inist-CNRS","followers_url":"https://api.github.com/users/Inist-CNRS/followers","following_url":"https://api.github.com/users/Inist-CNRS/following{/other_user}","gists_url":"https://api.github.com/users/Inist-CNRS/gists{/gist_id}","starred_url":"https://api.github.com/users/Inist-CNRS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inist-CNRS/subscriptions","organizations_url":"https://api.github.com/users/Inist-CNRS/orgs","repos_url":"https://api.github.com/users/Inist-CNRS/repos","events_url":"https://api.github.com/users/Inist-CNRS/events{/privacy}","received_events_url":"https://api.github.com/users/Inist-CNRS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Inist-CNRS/node-sphinxapi","description":"Native javascript implementation of the standard Sphinx API","fork":false,"url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi","forks_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/forks","keys_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/teams","hooks_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/hooks","issue_events_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/issues/events{/number}","events_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/events","assignees_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/assignees{/user}","branches_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/branches{/branch}","tags_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/tags","blobs_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/statuses/{sha}","languages_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/languages","stargazers_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/stargazers","contributors_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/contributors","subscribers_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/subscribers","subscription_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/subscription","commits_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/contents/{+path}","compare_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/merges","archive_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/downloads","issues_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/issues{/number}","pulls_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls{/number}","milestones_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/milestones{/number}","notifications_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/labels{/name}","releases_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/releases{/id}","deployments_url":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/deployments","created_at":"2012-03-21T21:37:46Z","updated_at":"2016-02-20T08:01:38Z","pushed_at":"2013-12-26T09:40:11Z","git_url":"git://github.com/Inist-CNRS/node-sphinxapi.git","ssh_url":"git@github.com:Inist-CNRS/node-sphinxapi.git","clone_url":"https://github.com/Inist-CNRS/node-sphinxapi.git","svn_url":"https://github.com/Inist-CNRS/node-sphinxapi","homepage":"","size":368,"stargazers_count":54,"watchers_count":54,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":10,"forks":13,"open_issues":10,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/22"},"html":{"href":"https://github.com/Inist-CNRS/node-sphinxapi/pull/22"},"issue":{"href":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/issues/22"},"comments":{"href":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/Inist-CNRS/node-sphinxapi/statuses/7d3f65782beb7be69363374a7a411f7abc802de3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}