{"action":"created","comment":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments/75023816","id":75023816,"diff_hunk":"@@ -295,6 +307,8 @@ def search_worker_thread(args, account, search_items_queue, parse_lock, encrypti\n             if args.proxy:\n                 api.set_proxy({'http': args.proxy, 'https': args.proxy})\n \n+            api.activate_signature(encryption_lib_path)","path":"pogom/search.py","position":35,"original_position":35,"commit_id":"c07f61fef2cb25f728a5bafb91118fd2f58d33a9","original_commit_id":"c07f61fef2cb25f728a5bafb91118fd2f58d33a9","user":{"login":"Cy4n1d3","id":873577,"avatar_url":"https://avatars.githubusercontent.com/u/873577?v=3","gravatar_id":"","url":"https://api.github.com/users/Cy4n1d3","html_url":"https://github.com/Cy4n1d3","followers_url":"https://api.github.com/users/Cy4n1d3/followers","following_url":"https://api.github.com/users/Cy4n1d3/following{/other_user}","gists_url":"https://api.github.com/users/Cy4n1d3/gists{/gist_id}","starred_url":"https://api.github.com/users/Cy4n1d3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cy4n1d3/subscriptions","organizations_url":"https://api.github.com/users/Cy4n1d3/orgs","repos_url":"https://api.github.com/users/Cy4n1d3/repos","events_url":"https://api.github.com/users/Cy4n1d3/events{/privacy}","received_events_url":"https://api.github.com/users/Cy4n1d3/received_events","type":"User","site_admin":false},"body":"It's also missing the proxy authentification thingy.","created_at":"2016-08-16T21:27:09Z","updated_at":"2016-08-16T21:27:09Z","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/752#discussion_r75023816","pull_request_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752","_links":{"self":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments/75023816"},"html":{"href":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/752#discussion_r75023816"},"pull_request":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752"}}},"pull_request":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752","id":81542463,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/752","diff_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/752.diff","patch_url":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/752.patch","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/752","number":752,"state":"open","locked":false,"title":"Delay/throttle fix when search resumes, preventing burst of search requests","user":{"login":"taihun81","id":20966956,"avatar_url":"https://avatars.githubusercontent.com/u/20966956?v=3","gravatar_id":"","url":"https://api.github.com/users/taihun81","html_url":"https://github.com/taihun81","followers_url":"https://api.github.com/users/taihun81/followers","following_url":"https://api.github.com/users/taihun81/following{/other_user}","gists_url":"https://api.github.com/users/taihun81/gists{/gist_id}","starred_url":"https://api.github.com/users/taihun81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taihun81/subscriptions","organizations_url":"https://api.github.com/users/taihun81/orgs","repos_url":"https://api.github.com/users/taihun81/repos","events_url":"https://api.github.com/users/taihun81/events{/privacy}","received_events_url":"https://api.github.com/users/taihun81/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n\r\n## Description\r\nFix for burst of search requests after search resumes, resulting in soft bans.\r\n\r\n## Motivation and Context\r\nI have added interval delays to when search queue gets filled up, so that each search thread can only initiate the search at given fixed interval.  That way even if the search resumes after extended period of pause, the search threads won't burst out the request all at once.  **Please comment if the delay interval handled in search queue is a good idea or not**\r\n\r\nSpawn point search thread has been left untouched.\r\n\r\n## How Has This Been Tested?\r\nRan, tested repeats of pause and resume for various intervals.\r\n\r\n## Screenshots (if appropriate):\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [X] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [X] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n\r\n","created_at":"2016-08-16T20:51:37Z","updated_at":"2016-08-16T21:27:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc7f8e7ab9f85fc07a03b464bc110b49c536eeea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752/commits","review_comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752/comments","review_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/752/comments","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/c07f61fef2cb25f728a5bafb91118fd2f58d33a9","head":{"label":"taihun81:develop","ref":"develop","sha":"c07f61fef2cb25f728a5bafb91118fd2f58d33a9","user":{"login":"taihun81","id":20966956,"avatar_url":"https://avatars.githubusercontent.com/u/20966956?v=3","gravatar_id":"","url":"https://api.github.com/users/taihun81","html_url":"https://github.com/taihun81","followers_url":"https://api.github.com/users/taihun81/followers","following_url":"https://api.github.com/users/taihun81/following{/other_user}","gists_url":"https://api.github.com/users/taihun81/gists{/gist_id}","starred_url":"https://api.github.com/users/taihun81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taihun81/subscriptions","organizations_url":"https://api.github.com/users/taihun81/orgs","repos_url":"https://api.github.com/users/taihun81/repos","events_url":"https://api.github.com/users/taihun81/events{/privacy}","received_events_url":"https://api.github.com/users/taihun81/received_events","type":"User","site_admin":false},"repo":{"id":65849765,"name":"PokemonGo-Map","full_name":"taihun81/PokemonGo-Map","owner":{"login":"taihun81","id":20966956,"avatar_url":"https://avatars.githubusercontent.com/u/20966956?v=3","gravatar_id":"","url":"https://api.github.com/users/taihun81","html_url":"https://github.com/taihun81","followers_url":"https://api.github.com/users/taihun81/followers","following_url":"https://api.github.com/users/taihun81/following{/other_user}","gists_url":"https://api.github.com/users/taihun81/gists{/gist_id}","starred_url":"https://api.github.com/users/taihun81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taihun81/subscriptions","organizations_url":"https://api.github.com/users/taihun81/orgs","repos_url":"https://api.github.com/users/taihun81/repos","events_url":"https://api.github.com/users/taihun81/events{/privacy}","received_events_url":"https://api.github.com/users/taihun81/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taihun81/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":true,"url":"https://api.github.com/repos/taihun81/PokemonGo-Map","forks_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/taihun81/PokemonGo-Map/deployments","created_at":"2016-08-16T20:02:36Z","updated_at":"2016-08-16T20:02:38Z","pushed_at":"2016-08-16T20:23:59Z","git_url":"git://github.com/taihun81/PokemonGo-Map.git","ssh_url":"git@github.com:taihun81/PokemonGo-Map.git","clone_url":"https://github.com/taihun81/PokemonGo-Map.git","svn_url":"https://github.com/taihun81/PokemonGo-Map","homepage":"","size":23150,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"PokemonGoMap:develop","ref":"develop","sha":"7cdb8c1ec3af5eda258dadc9f8c6f2095988f202","user":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"repo":{"id":64970925,"name":"PokemonGo-Map","full_name":"PokemonGoMap/PokemonGo-Map","owner":{"login":"PokemonGoMap","id":20848202,"avatar_url":"https://avatars.githubusercontent.com/u/20848202?v=3","gravatar_id":"","url":"https://api.github.com/users/PokemonGoMap","html_url":"https://github.com/PokemonGoMap","followers_url":"https://api.github.com/users/PokemonGoMap/followers","following_url":"https://api.github.com/users/PokemonGoMap/following{/other_user}","gists_url":"https://api.github.com/users/PokemonGoMap/gists{/gist_id}","starred_url":"https://api.github.com/users/PokemonGoMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PokemonGoMap/subscriptions","organizations_url":"https://api.github.com/users/PokemonGoMap/orgs","repos_url":"https://api.github.com/users/PokemonGoMap/repos","events_url":"https://api.github.com/users/PokemonGoMap/events{/privacy}","received_events_url":"https://api.github.com/users/PokemonGoMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PokemonGoMap/PokemonGo-Map","description":"🌏 Live visualization of all the pokemon in your area... and more!","fork":false,"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","forks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/forks","keys_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/teams","hooks_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/hooks","issue_events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/events{/number}","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/events","assignees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/assignees{/user}","branches_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/branches{/branch}","tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/tags","blobs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/refs{/sha}","trees_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/{sha}","languages_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/languages","stargazers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/stargazers","contributors_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contributors","subscribers_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscribers","subscription_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/subscription","commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/commits{/sha}","git_commits_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/git/commits{/sha}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/comments{/number}","issue_comment_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments{/number}","contents_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/contents/{+path}","compare_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/merges","archive_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/downloads","issues_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues{/number}","pulls_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls{/number}","milestones_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/milestones{/number}","notifications_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/labels{/name}","releases_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/releases{/id}","deployments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/deployments","created_at":"2016-08-04T22:18:49Z","updated_at":"2016-08-16T21:10:53Z","pushed_at":"2016-08-16T21:25:38Z","git_url":"git://github.com/PokemonGoMap/PokemonGo-Map.git","ssh_url":"git@github.com:PokemonGoMap/PokemonGo-Map.git","clone_url":"https://github.com/PokemonGoMap/PokemonGo-Map.git","svn_url":"https://github.com/PokemonGoMap/PokemonGo-Map","homepage":"","size":27953,"stargazers_count":1731,"watchers_count":1731,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":867,"mirror_url":null,"open_issues_count":121,"forks":867,"open_issues":121,"watchers":1731,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752"},"html":{"href":"https://github.com/PokemonGoMap/PokemonGo-Map/pull/752"},"issue":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/752"},"comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/752/comments"},"review_comments":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752/comments"},"review_comment":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/pulls/752/commits"},"statuses":{"href":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/statuses/c07f61fef2cb25f728a5bafb91118fd2f58d33a9"}}}}
{"actor":{"display_login":"Cy4n1d3"}}