{"action":"created","issue":{"url":"https://api.github.com/repos/rapidoid/rapidoid/issues/85","repository_url":"https://api.github.com/repos/rapidoid/rapidoid","labels_url":"https://api.github.com/repos/rapidoid/rapidoid/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/rapidoid/rapidoid/issues/85/comments","events_url":"https://api.github.com/repos/rapidoid/rapidoid/issues/85/events","html_url":"https://github.com/rapidoid/rapidoid/pull/85","id":169766588,"number":85,"title":"Make the expiration thread a daemon thread","user":{"login":"axel22","id":151774,"avatar_url":"https://avatars.githubusercontent.com/u/151774?v=3","gravatar_id":"","url":"https://api.github.com/users/axel22","html_url":"https://github.com/axel22","followers_url":"https://api.github.com/users/axel22/followers","following_url":"https://api.github.com/users/axel22/following{/other_user}","gists_url":"https://api.github.com/users/axel22/gists{/gist_id}","starred_url":"https://api.github.com/users/axel22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel22/subscriptions","organizations_url":"https://api.github.com/users/axel22/orgs","repos_url":"https://api.github.com/users/axel22/repos","events_url":"https://api.github.com/users/axel22/events{/privacy}","received_events_url":"https://api.github.com/users/axel22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-06T21:09:08Z","updated_at":"2016-08-06T21:11:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rapidoid/rapidoid/pulls/85","html_url":"https://github.com/rapidoid/rapidoid/pull/85","diff_url":"https://github.com/rapidoid/rapidoid/pull/85.diff","patch_url":"https://github.com/rapidoid/rapidoid/pull/85.patch"},"body":"I might be missing something, but it seems to me that the expiration thread should be a daemon.\r\n\r\nRight now, it is difficult for my application to go through an orderly shutdown because the `executorN` threads survive a call to `shutdown` on the `Setup` object, and because this thread survives. The former I can get around by calling `shutdown` on the global pool (although this is not an ideal solution if I have several `Setup` instances), but the latter thread I cannot shut down."},"comment":{"url":"https://api.github.com/repos/rapidoid/rapidoid/issues/comments/238048911","html_url":"https://github.com/rapidoid/rapidoid/pull/85#issuecomment-238048911","issue_url":"https://api.github.com/repos/rapidoid/rapidoid/issues/85","id":238048911,"user":{"login":"tiborlotz","id":20526621,"avatar_url":"https://avatars.githubusercontent.com/u/20526621?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborlotz","html_url":"https://github.com/tiborlotz","followers_url":"https://api.github.com/users/tiborlotz/followers","following_url":"https://api.github.com/users/tiborlotz/following{/other_user}","gists_url":"https://api.github.com/users/tiborlotz/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborlotz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborlotz/subscriptions","organizations_url":"https://api.github.com/users/tiborlotz/orgs","repos_url":"https://api.github.com/users/tiborlotz/repos","events_url":"https://api.github.com/users/tiborlotz/events{/privacy}","received_events_url":"https://api.github.com/users/tiborlotz/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T21:11:39Z","updated_at":"2016-08-06T21:11:39Z","body":"I want to add a remark about the `executor` threads - the same thing applies to `scheduler` threads created by the scheduled executor service, in the `Jobs` class."}}
{"actor":{"display_login":"tiborlotz"}}