{"action":"closed","issue":{"url":"https://api.github.com/repos/coleifer/huey/issues/159","repository_url":"https://api.github.com/repos/coleifer/huey","labels_url":"https://api.github.com/repos/coleifer/huey/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/coleifer/huey/issues/159/comments","events_url":"https://api.github.com/repos/coleifer/huey/issues/159/events","html_url":"https://github.com/coleifer/huey/issues/159","id":163164830,"number":159,"title":"Timeout - feature request","user":{"login":"hegga","id":49037,"avatar_url":"https://avatars.githubusercontent.com/u/49037?v=3","gravatar_id":"","url":"https://api.github.com/users/hegga","html_url":"https://github.com/hegga","followers_url":"https://api.github.com/users/hegga/followers","following_url":"https://api.github.com/users/hegga/following{/other_user}","gists_url":"https://api.github.com/users/hegga/gists{/gist_id}","starred_url":"https://api.github.com/users/hegga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hegga/subscriptions","organizations_url":"https://api.github.com/users/hegga/orgs","repos_url":"https://api.github.com/users/hegga/repos","events_url":"https://api.github.com/users/hegga/events{/privacy}","received_events_url":"https://api.github.com/users/hegga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-30T13:26:05Z","updated_at":"2016-08-27T16:44:41Z","closed_at":"2016-08-27T16:44:41Z","body":"Hi,\r\n\r\nWould it be possible to add a timeout argument to the huey.task decorator? Where a task will be killed\r\nif the run time exceeds the time specified in the timeout argument.\r\n\r\nThis could for example look like:\r\n\r\n```python\r\n@huey.task(timeout=60)\r\ndef add_numbers(a, b)\r\n    return a + b\r\n```"}}
{"actor":{"display_login":"coleifer"}}