{"action":"created","issue":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1535","repository_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map","labels_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1535/labels{/name}","comments_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1535/comments","events_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1535/events","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1535","id":167186682,"number":1535,"title":"Handle db OperationalError exception and retry InsertQuery()","user":{"login":"wcastello","id":3504711,"avatar_url":"https://avatars.githubusercontent.com/u/3504711?v=3","gravatar_id":"","url":"https://api.github.com/users/wcastello","html_url":"https://github.com/wcastello","followers_url":"https://api.github.com/users/wcastello/followers","following_url":"https://api.github.com/users/wcastello/following{/other_user}","gists_url":"https://api.github.com/users/wcastello/gists{/gist_id}","starred_url":"https://api.github.com/users/wcastello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcastello/subscriptions","organizations_url":"https://api.github.com/users/wcastello/orgs","repos_url":"https://api.github.com/users/wcastello/repos","events_url":"https://api.github.com/users/wcastello/events{/privacy}","received_events_url":"https://api.github.com/users/wcastello/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-23T14:31:42Z","updated_at":"2016-07-23T14:32:23Z","closed_at":"2016-07-23T14:32:14Z","pull_request":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/pulls/1535","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1535","diff_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1535.diff","patch_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1535.patch"},"body":"This deals with the OperationalError exception that comes when the db locks and keep trying to insert that so we don't lose data on the way. \r\n\r\nI ran it with several combinations of threads on OS X and it goes well, gets some lock eventually but with this it retries. Apparently people on Windows are having a harder time. \r\n\r\nTry running a version of sqlite3 >= 3.7.15 for pragma busy_timeout.\r\n\r\nI'm having trouble understanding the deal of concurrency with sqlite, so if you're good with please come to save. \r\n\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [x] My code does not follow PEP8.\r\n"},"comment":{"url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/comments/234721231","html_url":"https://github.com/AHAAAAAAA/PokemonGo-Map/pull/1535#issuecomment-234721231","issue_url":"https://api.github.com/repos/AHAAAAAAA/PokemonGo-Map/issues/1535","id":234721231,"user":{"login":"wcastello","id":3504711,"avatar_url":"https://avatars.githubusercontent.com/u/3504711?v=3","gravatar_id":"","url":"https://api.github.com/users/wcastello","html_url":"https://github.com/wcastello","followers_url":"https://api.github.com/users/wcastello/followers","following_url":"https://api.github.com/users/wcastello/following{/other_user}","gists_url":"https://api.github.com/users/wcastello/gists{/gist_id}","starred_url":"https://api.github.com/users/wcastello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcastello/subscriptions","organizations_url":"https://api.github.com/users/wcastello/orgs","repos_url":"https://api.github.com/users/wcastello/repos","events_url":"https://api.github.com/users/wcastello/events{/privacy}","received_events_url":"https://api.github.com/users/wcastello/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T14:32:23Z","updated_at":"2016-07-23T14:32:23Z","body":"Hell, hang on. "}}
{"actor":{"display_login":"wcastello"}}