{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/24","id":89881323,"html_url":"https://github.com/Code4SA/mma-dexter/pull/24","diff_url":"https://github.com/Code4SA/mma-dexter/pull/24.diff","patch_url":"https://github.com/Code4SA/mma-dexter/pull/24.patch","issue_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues/24","number":24,"state":"open","locked":false,"title":"Fix horribly inefficient db query","user":{"login":"longhotsummer","id":4178542,"avatar_url":"https://avatars.githubusercontent.com/u/4178542?v=3","gravatar_id":"","url":"https://api.github.com/users/longhotsummer","html_url":"https://github.com/longhotsummer","followers_url":"https://api.github.com/users/longhotsummer/followers","following_url":"https://api.github.com/users/longhotsummer/following{/other_user}","gists_url":"https://api.github.com/users/longhotsummer/gists{/gist_id}","starred_url":"https://api.github.com/users/longhotsummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longhotsummer/subscriptions","organizations_url":"https://api.github.com/users/longhotsummer/orgs","repos_url":"https://api.github.com/users/longhotsummer/repos","events_url":"https://api.github.com/users/longhotsummer/events{/privacy}","received_events_url":"https://api.github.com/users/longhotsummer/received_events","type":"User","site_admin":false},"body":"This was doing an enormous join and loading most of the db into memory.\r\n\r\nAlso removes some unnecessary code.","created_at":"2016-10-18T19:21:26Z","updated_at":"2016-10-18T19:21:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d88bbd6adaa5c9f0179a985b7b3d9b248cf1f4a1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/24/commits","review_comments_url":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/24/comments","review_comment_url":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues/24/comments","statuses_url":"https://api.github.com/repos/Code4SA/mma-dexter/statuses/42b563dba35e14d2bd7c13147d4726d8a80024c3","head":{"label":"Code4SA:debug","ref":"debug","sha":"42b563dba35e14d2bd7c13147d4726d8a80024c3","user":{"login":"Code4SA","id":4387576,"avatar_url":"https://avatars.githubusercontent.com/u/4387576?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SA","html_url":"https://github.com/Code4SA","followers_url":"https://api.github.com/users/Code4SA/followers","following_url":"https://api.github.com/users/Code4SA/following{/other_user}","gists_url":"https://api.github.com/users/Code4SA/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SA/subscriptions","organizations_url":"https://api.github.com/users/Code4SA/orgs","repos_url":"https://api.github.com/users/Code4SA/repos","events_url":"https://api.github.com/users/Code4SA/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SA/received_events","type":"Organization","site_admin":false},"repo":{"id":16272943,"name":"mma-dexter","full_name":"Code4SA/mma-dexter","owner":{"login":"Code4SA","id":4387576,"avatar_url":"https://avatars.githubusercontent.com/u/4387576?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SA","html_url":"https://github.com/Code4SA","followers_url":"https://api.github.com/users/Code4SA/followers","following_url":"https://api.github.com/users/Code4SA/following{/other_user}","gists_url":"https://api.github.com/users/Code4SA/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SA/subscriptions","organizations_url":"https://api.github.com/users/Code4SA/orgs","repos_url":"https://api.github.com/users/Code4SA/repos","events_url":"https://api.github.com/users/Code4SA/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Code4SA/mma-dexter","description":"Dexter document monitor for MMA","fork":false,"url":"https://api.github.com/repos/Code4SA/mma-dexter","forks_url":"https://api.github.com/repos/Code4SA/mma-dexter/forks","keys_url":"https://api.github.com/repos/Code4SA/mma-dexter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Code4SA/mma-dexter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Code4SA/mma-dexter/teams","hooks_url":"https://api.github.com/repos/Code4SA/mma-dexter/hooks","issue_events_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues/events{/number}","events_url":"https://api.github.com/repos/Code4SA/mma-dexter/events","assignees_url":"https://api.github.com/repos/Code4SA/mma-dexter/assignees{/user}","branches_url":"https://api.github.com/repos/Code4SA/mma-dexter/branches{/branch}","tags_url":"https://api.github.com/repos/Code4SA/mma-dexter/tags","blobs_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Code4SA/mma-dexter/statuses/{sha}","languages_url":"https://api.github.com/repos/Code4SA/mma-dexter/languages","stargazers_url":"https://api.github.com/repos/Code4SA/mma-dexter/stargazers","contributors_url":"https://api.github.com/repos/Code4SA/mma-dexter/contributors","subscribers_url":"https://api.github.com/repos/Code4SA/mma-dexter/subscribers","subscription_url":"https://api.github.com/repos/Code4SA/mma-dexter/subscription","commits_url":"https://api.github.com/repos/Code4SA/mma-dexter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Code4SA/mma-dexter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Code4SA/mma-dexter/contents/{+path}","compare_url":"https://api.github.com/repos/Code4SA/mma-dexter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Code4SA/mma-dexter/merges","archive_url":"https://api.github.com/repos/Code4SA/mma-dexter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Code4SA/mma-dexter/downloads","issues_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues{/number}","pulls_url":"https://api.github.com/repos/Code4SA/mma-dexter/pulls{/number}","milestones_url":"https://api.github.com/repos/Code4SA/mma-dexter/milestones{/number}","notifications_url":"https://api.github.com/repos/Code4SA/mma-dexter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Code4SA/mma-dexter/labels{/name}","releases_url":"https://api.github.com/repos/Code4SA/mma-dexter/releases{/id}","deployments_url":"https://api.github.com/repos/Code4SA/mma-dexter/deployments","created_at":"2014-01-27T08:09:08Z","updated_at":"2016-10-13T19:19:21Z","pushed_at":"2016-10-18T19:21:26Z","git_url":"git://github.com/Code4SA/mma-dexter.git","ssh_url":"git@github.com:Code4SA/mma-dexter.git","clone_url":"https://github.com/Code4SA/mma-dexter.git","svn_url":"https://github.com/Code4SA/mma-dexter","homepage":"","size":4748,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":9,"default_branch":"master"}},"base":{"label":"Code4SA:master","ref":"master","sha":"bc22585adc30a306d6c203b72a415907d962e066","user":{"login":"Code4SA","id":4387576,"avatar_url":"https://avatars.githubusercontent.com/u/4387576?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SA","html_url":"https://github.com/Code4SA","followers_url":"https://api.github.com/users/Code4SA/followers","following_url":"https://api.github.com/users/Code4SA/following{/other_user}","gists_url":"https://api.github.com/users/Code4SA/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SA/subscriptions","organizations_url":"https://api.github.com/users/Code4SA/orgs","repos_url":"https://api.github.com/users/Code4SA/repos","events_url":"https://api.github.com/users/Code4SA/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SA/received_events","type":"Organization","site_admin":false},"repo":{"id":16272943,"name":"mma-dexter","full_name":"Code4SA/mma-dexter","owner":{"login":"Code4SA","id":4387576,"avatar_url":"https://avatars.githubusercontent.com/u/4387576?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SA","html_url":"https://github.com/Code4SA","followers_url":"https://api.github.com/users/Code4SA/followers","following_url":"https://api.github.com/users/Code4SA/following{/other_user}","gists_url":"https://api.github.com/users/Code4SA/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SA/subscriptions","organizations_url":"https://api.github.com/users/Code4SA/orgs","repos_url":"https://api.github.com/users/Code4SA/repos","events_url":"https://api.github.com/users/Code4SA/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Code4SA/mma-dexter","description":"Dexter document monitor for MMA","fork":false,"url":"https://api.github.com/repos/Code4SA/mma-dexter","forks_url":"https://api.github.com/repos/Code4SA/mma-dexter/forks","keys_url":"https://api.github.com/repos/Code4SA/mma-dexter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Code4SA/mma-dexter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Code4SA/mma-dexter/teams","hooks_url":"https://api.github.com/repos/Code4SA/mma-dexter/hooks","issue_events_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues/events{/number}","events_url":"https://api.github.com/repos/Code4SA/mma-dexter/events","assignees_url":"https://api.github.com/repos/Code4SA/mma-dexter/assignees{/user}","branches_url":"https://api.github.com/repos/Code4SA/mma-dexter/branches{/branch}","tags_url":"https://api.github.com/repos/Code4SA/mma-dexter/tags","blobs_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Code4SA/mma-dexter/statuses/{sha}","languages_url":"https://api.github.com/repos/Code4SA/mma-dexter/languages","stargazers_url":"https://api.github.com/repos/Code4SA/mma-dexter/stargazers","contributors_url":"https://api.github.com/repos/Code4SA/mma-dexter/contributors","subscribers_url":"https://api.github.com/repos/Code4SA/mma-dexter/subscribers","subscription_url":"https://api.github.com/repos/Code4SA/mma-dexter/subscription","commits_url":"https://api.github.com/repos/Code4SA/mma-dexter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Code4SA/mma-dexter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Code4SA/mma-dexter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Code4SA/mma-dexter/contents/{+path}","compare_url":"https://api.github.com/repos/Code4SA/mma-dexter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Code4SA/mma-dexter/merges","archive_url":"https://api.github.com/repos/Code4SA/mma-dexter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Code4SA/mma-dexter/downloads","issues_url":"https://api.github.com/repos/Code4SA/mma-dexter/issues{/number}","pulls_url":"https://api.github.com/repos/Code4SA/mma-dexter/pulls{/number}","milestones_url":"https://api.github.com/repos/Code4SA/mma-dexter/milestones{/number}","notifications_url":"https://api.github.com/repos/Code4SA/mma-dexter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Code4SA/mma-dexter/labels{/name}","releases_url":"https://api.github.com/repos/Code4SA/mma-dexter/releases{/id}","deployments_url":"https://api.github.com/repos/Code4SA/mma-dexter/deployments","created_at":"2014-01-27T08:09:08Z","updated_at":"2016-10-13T19:19:21Z","pushed_at":"2016-10-18T19:21:26Z","git_url":"git://github.com/Code4SA/mma-dexter.git","ssh_url":"git@github.com:Code4SA/mma-dexter.git","clone_url":"https://github.com/Code4SA/mma-dexter.git","svn_url":"https://github.com/Code4SA/mma-dexter","homepage":"","size":4748,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/24"},"html":{"href":"https://github.com/Code4SA/mma-dexter/pull/24"},"issue":{"href":"https://api.github.com/repos/Code4SA/mma-dexter/issues/24"},"comments":{"href":"https://api.github.com/repos/Code4SA/mma-dexter/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Code4SA/mma-dexter/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/Code4SA/mma-dexter/statuses/42b563dba35e14d2bd7c13147d4726d8a80024c3"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":43,"deletions":50,"changed_files":2}}
{"actor":{"display_login":"longhotsummer"}}