{"action":"opened","issue":{"url":"https://api.github.com/repos/Geeksltd/Olive/issues/86","repository_url":"https://api.github.com/repos/Geeksltd/Olive","labels_url":"https://api.github.com/repos/Geeksltd/Olive/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/Geeksltd/Olive/issues/86/comments","events_url":"https://api.github.com/repos/Geeksltd/Olive/issues/86/events","html_url":"https://github.com/Geeksltd/Olive/issues/86","id":362633830,"node_id":"MDU6SXNzdWUzNjI2MzM4MzA=","number":86,"title":"Olive.Hangfire and database restart","user":{"login":"PaymonK","id":35069374,"node_id":"MDQ6VXNlcjM1MDY5Mzc0","avatar_url":"https://avatars2.githubusercontent.com/u/35069374?v=4","gravatar_id":"","url":"https://api.github.com/users/PaymonK","html_url":"https://github.com/PaymonK","followers_url":"https://api.github.com/users/PaymonK/followers","following_url":"https://api.github.com/users/PaymonK/following{/other_user}","gists_url":"https://api.github.com/users/PaymonK/gists{/gist_id}","starred_url":"https://api.github.com/users/PaymonK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaymonK/subscriptions","organizations_url":"https://api.github.com/users/PaymonK/orgs","repos_url":"https://api.github.com/users/PaymonK/repos","events_url":"https://api.github.com/users/PaymonK/events{/privacy}","received_events_url":"https://api.github.com/users/PaymonK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-21T14:12:00Z","updated_at":"2018-09-21T14:12:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When hangfire runs, it creates its job information in the DB.\r\nWhen we then invoke the \"Restart database\" command via the test widget (bottom centre of the page), it tries to kill the database, but Hangfire hangs on to it, and it creates a problem.\r\n\r\nWe should find a way to kill hangfire right before killing the database. "}}
{"actor":{"display_login":"PaymonK"}}