{"action":"created","issue":{"url":"https://api.github.com/repos/denoland/deno/issues/463","repository_url":"https://api.github.com/repos/denoland/deno","labels_url":"https://api.github.com/repos/denoland/deno/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/denoland/deno/issues/463/comments","events_url":"https://api.github.com/repos/denoland/deno/issues/463/events","html_url":"https://github.com/denoland/deno/issues/463","id":348107767,"node_id":"MDU6SXNzdWUzNDgxMDc3Njc=","number":463,"title":"Protecting against runaway scripts","user":{"login":"newtack","id":836263,"node_id":"MDQ6VXNlcjgzNjI2Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/836263?v=4","gravatar_id":"","url":"https://api.github.com/users/newtack","html_url":"https://github.com/newtack","followers_url":"https://api.github.com/users/newtack/followers","following_url":"https://api.github.com/users/newtack/following{/other_user}","gists_url":"https://api.github.com/users/newtack/gists{/gist_id}","starred_url":"https://api.github.com/users/newtack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newtack/subscriptions","organizations_url":"https://api.github.com/users/newtack/orgs","repos_url":"https://api.github.com/users/newtack/repos","events_url":"https://api.github.com/users/newtack/events{/privacy}","received_events_url":"https://api.github.com/users/newtack/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-06T22:50:51Z","updated_at":"2018-08-06T23:15:32Z","closed_at":"2018-08-06T23:15:32Z","author_association":"NONE","body":"When running 3rd party scripts with Deno we want to ensure that the scripts can't go into infinite loop and hang the whole process. Ideally, we want to have a way of performing some timeout (run for maximum of 1 second for example) and then return an error, without crashing the process. \r\n\r\nCan this be supported in Deno (now or future)?"},"comment":{"url":"https://api.github.com/repos/denoland/deno/issues/comments/410882197","html_url":"https://github.com/denoland/deno/issues/463#issuecomment-410882197","issue_url":"https://api.github.com/repos/denoland/deno/issues/463","id":410882197,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDg4MjE5Nw==","user":{"login":"ry","id":80,"node_id":"MDQ6VXNlcjgw","avatar_url":"https://avatars1.githubusercontent.com/u/80?v=4","gravatar_id":"","url":"https://api.github.com/users/ry","html_url":"https://github.com/ry","followers_url":"https://api.github.com/users/ry/followers","following_url":"https://api.github.com/users/ry/following{/other_user}","gists_url":"https://api.github.com/users/ry/gists{/gist_id}","starred_url":"https://api.github.com/users/ry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ry/subscriptions","organizations_url":"https://api.github.com/users/ry/orgs","repos_url":"https://api.github.com/users/ry/repos","events_url":"https://api.github.com/users/ry/events{/privacy}","received_events_url":"https://api.github.com/users/ry/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T23:15:32Z","updated_at":"2018-08-06T23:15:32Z","author_association":"COLLABORATOR","body":"I mean we could add a timeout or something to `main()` - but I think that's out of scope. I'm sure there's a unix utility to kill a process after some time."}}
{"actor":{"display_login":"ry"}}