{"action":"created","issue":{"url":"https://api.github.com/repos/foreverjs/forever/issues/729","labels_url":"https://api.github.com/repos/foreverjs/forever/issues/729/labels{/name}","comments_url":"https://api.github.com/repos/foreverjs/forever/issues/729/comments","events_url":"https://api.github.com/repos/foreverjs/forever/issues/729/events","html_url":"https://github.com/foreverjs/forever/issues/729","id":94177496,"number":729,"title":"Forever as a long running process never exits?","user":{"login":"mattlubner","id":926477,"avatar_url":"https://avatars.githubusercontent.com/u/926477?v=3","gravatar_id":"","url":"https://api.github.com/users/mattlubner","html_url":"https://github.com/mattlubner","followers_url":"https://api.github.com/users/mattlubner/followers","following_url":"https://api.github.com/users/mattlubner/following{/other_user}","gists_url":"https://api.github.com/users/mattlubner/gists{/gist_id}","starred_url":"https://api.github.com/users/mattlubner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattlubner/subscriptions","organizations_url":"https://api.github.com/users/mattlubner/orgs","repos_url":"https://api.github.com/users/mattlubner/repos","events_url":"https://api.github.com/users/mattlubner/events{/privacy}","received_events_url":"https://api.github.com/users/mattlubner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/foreverjs/forever/labels/confirmed-bugs","name":"confirmed-bugs","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-09T23:50:46Z","updated_at":"2015-07-21T01:51:54Z","closed_at":null,"body":"Here's a scenario:\r\n\r\nA node server (running inside of a Docker container) connects on startup to a database. The database goes down, so the server crashes. Forever restarts it 5 times, which is the max, then does nothing. The Docker container continues to run indefinitely because the forever process is still running, even though the server can never be restarted at this point without outside intervention.\r\n\r\nIs this a bug or by design? If it's by design, what's the intent behind keeping the process running?"},"comment":{"url":"https://api.github.com/repos/foreverjs/forever/issues/comments/123127467","html_url":"https://github.com/foreverjs/forever/issues/729#issuecomment-123127467","issue_url":"https://api.github.com/repos/foreverjs/forever/issues/729","id":123127467,"user":{"login":"cilindrox","id":2892279,"avatar_url":"https://avatars.githubusercontent.com/u/2892279?v=3","gravatar_id":"","url":"https://api.github.com/users/cilindrox","html_url":"https://github.com/cilindrox","followers_url":"https://api.github.com/users/cilindrox/followers","following_url":"https://api.github.com/users/cilindrox/following{/other_user}","gists_url":"https://api.github.com/users/cilindrox/gists{/gist_id}","starred_url":"https://api.github.com/users/cilindrox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cilindrox/subscriptions","organizations_url":"https://api.github.com/users/cilindrox/orgs","repos_url":"https://api.github.com/users/cilindrox/repos","events_url":"https://api.github.com/users/cilindrox/events{/privacy}","received_events_url":"https://api.github.com/users/cilindrox/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T01:51:53Z","updated_at":"2015-07-21T01:51:53Z","body":"Here's a pretty-simple example to reproduce this: https://gist.github.com/cilindrox/12c3975b5a469b48ee95"}}