{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/743","repository_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map","labels_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/743/comments","events_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/743/events","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/issues/743","id":171481906,"number":743,"title":"-ss spawn.json takes more than 1 minute from search to upsert","user":{"login":"Saprophator","id":7038173,"avatar_url":"https://avatars.githubusercontent.com/u/7038173?v=3","gravatar_id":"","url":"https://api.github.com/users/Saprophator","html_url":"https://github.com/Saprophator","followers_url":"https://api.github.com/users/Saprophator/followers","following_url":"https://api.github.com/users/Saprophator/following{/other_user}","gists_url":"https://api.github.com/users/Saprophator/gists{/gist_id}","starred_url":"https://api.github.com/users/Saprophator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saprophator/subscriptions","organizations_url":"https://api.github.com/users/Saprophator/orgs","repos_url":"https://api.github.com/users/Saprophator/repos","events_url":"https://api.github.com/users/Saprophator/events{/privacy}","received_events_url":"https://api.github.com/users/Saprophator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-16T18:12:41Z","updated_at":"2016-08-16T18:32:51Z","closed_at":null,"body":"<!--\r\n\r\n-->\r\n\r\n<!--- Provide a general summary of the issue in the Title above -->\r\n\r\n## Expected Behavior\r\n<!--- If you're describing a bug, tell us what should happen -->\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\n-ss spawn.json is accelerating scanning speed\r\ntime between search and upsert should be <5 seconds\r\nadding accounts should increase overall scan speed\r\n\r\n## Current Behavior\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\n-ss spawn.json is taking more than 1 minute between search and upsert per worker\r\ngets worse with adding accounts\r\nis 1/4 th of the speed than the original spawn scan implementatin from reddit \r\n[https://www.reddit.com/r/pokemongodev/comments/4wxteh/i_implemented_tbterras_spawntracker_into/](url)\r\n\r\n## Possible Solution\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n<!--- or ideas how to implement the addition or change -->\r\nfix the bug that slows things down :P\r\n## Steps to Reproduce (for bugs)\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Use -ss spawn.json\r\n2. compare with the original implementation\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\nScan queue builds up and 3/4th of the pokemon are not found\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* Version used: current development branch on Linux, older development branch with modified search.py on Windows\r\n* Environment name and version (e.g. Python 2.7):\r\n* Operating System and version (desktop or mobile):\r\nI currently have a VPS with the new commit running Debian 8\r\nI still have the old Implementation on my Windows 10 machine\r\n\r\n## Files to compare\r\nNew Implementation http://pastebin.com/EXrRksg9\r\nOld Implementaion http://pastebin.com/h4h14959\r\nOld search.py http://pastebin.com/4wPAUcmb\r\n\r\n## command line used\r\npython runserver.py -nsc -fl -L de -k myKey -l \"myLoc\" -st 1 -sd 10 -ss spawns.json -a ptc -u /30 accounts/ -p  --db-ty mysql --db-name --db-user --db-pass --db-host --db-port --db-max_connections\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/comments/240195155","html_url":"https://github.com/PokemonGoMap/PokemonGo-Map/issues/743#issuecomment-240195155","issue_url":"https://api.github.com/repos/PokemonGoMap/PokemonGo-Map/issues/743","id":240195155,"user":{"login":"Infernoman","id":8021207,"avatar_url":"https://avatars.githubusercontent.com/u/8021207?v=3","gravatar_id":"","url":"https://api.github.com/users/Infernoman","html_url":"https://github.com/Infernoman","followers_url":"https://api.github.com/users/Infernoman/followers","following_url":"https://api.github.com/users/Infernoman/following{/other_user}","gists_url":"https://api.github.com/users/Infernoman/gists{/gist_id}","starred_url":"https://api.github.com/users/Infernoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Infernoman/subscriptions","organizations_url":"https://api.github.com/users/Infernoman/orgs","repos_url":"https://api.github.com/users/Infernoman/repos","events_url":"https://api.github.com/users/Infernoman/events{/privacy}","received_events_url":"https://api.github.com/users/Infernoman/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T18:32:51Z","updated_at":"2016-08-16T18:32:51Z","body":"Can confirm."}}
{"actor":{"display_login":"Infernoman"}}