{"action":"created","issue":{"url":"https://api.github.com/repos/ddss/MT_PEU/issues/94","labels_url":"https://api.github.com/repos/ddss/MT_PEU/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/ddss/MT_PEU/issues/94/comments","events_url":"https://api.github.com/repos/ddss/MT_PEU/issues/94/events","html_url":"https://github.com/ddss/MT_PEU/issues/94","id":103561146,"number":94,"title":"Substituição de while True em ThreadExceptionHanding","user":{"login":"VictorGerin","id":12161688,"avatar_url":"https://avatars.githubusercontent.com/u/12161688?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorGerin","html_url":"https://github.com/VictorGerin","followers_url":"https://api.github.com/users/VictorGerin/followers","following_url":"https://api.github.com/users/VictorGerin/following{/other_user}","gists_url":"https://api.github.com/users/VictorGerin/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorGerin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorGerin/subscriptions","organizations_url":"https://api.github.com/users/VictorGerin/orgs","repos_url":"https://api.github.com/users/VictorGerin/repos","events_url":"https://api.github.com/users/VictorGerin/events{/privacy}","received_events_url":"https://api.github.com/users/VictorGerin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ddss/MT_PEU/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ddss","id":7258884,"avatar_url":"https://avatars.githubusercontent.com/u/7258884?v=3","gravatar_id":"","url":"https://api.github.com/users/ddss","html_url":"https://github.com/ddss","followers_url":"https://api.github.com/users/ddss/followers","following_url":"https://api.github.com/users/ddss/following{/other_user}","gists_url":"https://api.github.com/users/ddss/gists{/gist_id}","starred_url":"https://api.github.com/users/ddss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddss/subscriptions","organizations_url":"https://api.github.com/users/ddss/orgs","repos_url":"https://api.github.com/users/ddss/repos","events_url":"https://api.github.com/users/ddss/events{/privacy}","received_events_url":"https://api.github.com/users/ddss/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-27T17:51:33Z","updated_at":"2015-10-13T19:34:20Z","closed_at":null,"body":"A ThreadExceptionHanding está sendo \"parada\" usando um loop \"while true\", o que trás muitos malefícios em desempenho eleva o uso do processador a 100% sem necessidade alguma.\r\n\r\n1º solução ao invés de iniciar uma Thread use o metodo Run direto isso fará a \"Thread parar\" ,Thread entre apas por que assim ele não é uma Thread, e por tanto o código firar parado no run até finalizar e qualquer error será pego pela thread principal"},"comment":{"url":"https://api.github.com/repos/ddss/MT_PEU/issues/comments/147825414","html_url":"https://github.com/ddss/MT_PEU/issues/94#issuecomment-147825414","issue_url":"https://api.github.com/repos/ddss/MT_PEU/issues/94","id":147825414,"user":{"login":"ddss","id":7258884,"avatar_url":"https://avatars.githubusercontent.com/u/7258884?v=3","gravatar_id":"","url":"https://api.github.com/users/ddss","html_url":"https://github.com/ddss","followers_url":"https://api.github.com/users/ddss/followers","following_url":"https://api.github.com/users/ddss/following{/other_user}","gists_url":"https://api.github.com/users/ddss/gists{/gist_id}","starred_url":"https://api.github.com/users/ddss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddss/subscriptions","organizations_url":"https://api.github.com/users/ddss/orgs","repos_url":"https://api.github.com/users/ddss/repos","events_url":"https://api.github.com/users/ddss/events{/privacy}","received_events_url":"https://api.github.com/users/ddss/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T19:34:20Z","updated_at":"2015-10-13T19:34:20Z","body":"podemos usar aqui o que fora sugerido na issue #95 e eliminar este método."}}