{"action":"closed","issue":{"url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/7229","repository_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports","labels_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/7229/labels{/name}","comments_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/7229/comments","events_url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/issues/7229/events","html_url":"https://github.com/PennyDreadfulMTG/perf-reports/issues/7229","id":288020747,"node_id":"MDU6SXNzdWUyODgwMjA3NDc=","number":7229,"title":"Exceeded slow_query limit (37.9 > 5) in mysql: ","user":{"login":"vorpal-buildbot","id":23072004,"node_id":"MDQ6VXNlcjIzMDcyMDA0","avatar_url":"https://avatars2.githubusercontent.com/u/23072004?v=4","gravatar_id":"","url":"https://api.github.com/users/vorpal-buildbot","html_url":"https://github.com/vorpal-buildbot","followers_url":"https://api.github.com/users/vorpal-buildbot/followers","following_url":"https://api.github.com/users/vorpal-buildbot/following{/other_user}","gists_url":"https://api.github.com/users/vorpal-buildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/vorpal-buildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorpal-buildbot/subscriptions","organizations_url":"https://api.github.com/users/vorpal-buildbot/orgs","repos_url":"https://api.github.com/users/vorpal-buildbot/repos","events_url":"https://api.github.com/users/vorpal-buildbot/events{/privacy}","received_events_url":"https://api.github.com/users/vorpal-buildbot/received_events","type":"User","site_admin":false},"labels":[{"id":763867617,"node_id":"MDU6TGFiZWw3NjM4Njc2MTc=","url":"https://api.github.com/repos/PennyDreadfulMTG/perf-reports/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-12T06:37:14Z","updated_at":"2018-07-16T03:34:36Z","closed_at":"2018-07-16T03:34:36Z","author_association":"NONE","body":"        SELECT\n            d.id,\n            SUM(CASE WHEN dm.games > odm.games THEN 1 ELSE 0 END) AS opp_wins,\n            SUM(CASE WHEN dm.games < odm.games THEN 1 ELSE 0 END) AS opp_losses,\n            SUM(CASE WHEN dm.games = odm.games THEN 1 ELSE 0 END) AS opp_draws,\n            ROUND(SUM(CASE WHEN dm.games > odm.games THEN 1 ELSE 0 END) / NULLIF((SUM(CASE WHEN dm.games <> odm.games THEN 1 ELSE 0 END)), 0), 2) * 100 AS omw,\n            IFNULL(MIN(CASE WHEN m.elimination > 0 THEN m.elimination END), 0) AS stage_reached,\n            GROUP_CONCAT(m.elimination) AS elim\n        FROM\n            deck AS d\n        INNER JOIN\n            deck_match AS my_dm ON my_dm.deck_id = d.id\n        LEFT JOIN\n            deck_match AS my_odm ON my_odm.match_id = my_dm.match_id AND my_odm.deck_id <> d.id\n        INNER JOIN\n            deck AS od ON od.id = my_odm.deck_id\n        INNER JOIN\n            deck_match AS dm ON dm.deck_id = od.id\n        LEFT JOIN\n            deck_match AS odm ON odm.match_id = dm.match_id AND odm.deck_id <> dm.deck_id\n        INNER JOIN\n            `match` AS m ON m.id = dm.match_id\n        WHERE\n            d.id IN (7673)\n        GROUP BY\n            d.id\n    ; [] (slow_query, 37.9, mysql)\n\nReported on mysql by perf\n--------------------------------------------------------------------------------\nRequest Method: GET\nPath: /decks/7675/?\nCookies: {}\nEndpoint: deck\nView Args: {'deck_id': '7675'}\nPerson: logged_out\nUser-Agent: Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)\nReferrer: None\nRequest Data: {}\n"}}
{"actor":{"display_login":"stale"}}