{"action":"closed","issue":{"url":"https://api.github.com/repos/kostya/eye/issues/159","labels_url":"https://api.github.com/repos/kostya/eye/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/kostya/eye/issues/159/comments","events_url":"https://api.github.com/repos/kostya/eye/issues/159/events","html_url":"https://github.com/kostya/eye/issues/159","id":117910673,"number":159,"title":"back to back restarts with restart grace overlap each other","user":{"login":"grimm26","id":127401,"avatar_url":"https://avatars.githubusercontent.com/u/127401?v=3","gravatar_id":"","url":"https://api.github.com/users/grimm26","html_url":"https://github.com/grimm26","followers_url":"https://api.github.com/users/grimm26/followers","following_url":"https://api.github.com/users/grimm26/following{/other_user}","gists_url":"https://api.github.com/users/grimm26/gists{/gist_id}","starred_url":"https://api.github.com/users/grimm26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimm26/subscriptions","organizations_url":"https://api.github.com/users/grimm26/orgs","repos_url":"https://api.github.com/users/grimm26/repos","events_url":"https://api.github.com/users/grimm26/events{/privacy}","received_events_url":"https://api.github.com/users/grimm26/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kostya/eye/labels/need%20feedback","name":"need feedback","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/kostya/eye/milestones/4","html_url":"https://github.com/kostya/eye/milestones/0.9","labels_url":"https://api.github.com/repos/kostya/eye/milestones/4/labels","id":1423929,"number":4,"title":"0.9","description":null,"creator":{"login":"kostya","id":95060,"avatar_url":"https://avatars.githubusercontent.com/u/95060?v=3","gravatar_id":"","url":"https://api.github.com/users/kostya","html_url":"https://github.com/kostya","followers_url":"https://api.github.com/users/kostya/followers","following_url":"https://api.github.com/users/kostya/following{/other_user}","gists_url":"https://api.github.com/users/kostya/gists{/gist_id}","starred_url":"https://api.github.com/users/kostya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostya/subscriptions","organizations_url":"https://api.github.com/users/kostya/orgs","repos_url":"https://api.github.com/users/kostya/repos","events_url":"https://api.github.com/users/kostya/events{/privacy}","received_events_url":"https://api.github.com/users/kostya/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2015-11-22T19:35:26Z","updated_at":"2015-11-24T20:54:00Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-19T21:22:39Z","updated_at":"2015-11-24T20:54:00Z","closed_at":"2015-11-24T20:54:00Z","body":"I have a config running 2 pumas with a restart grace so that only one is stopped and started at a time.  If restarts are stacked up, things happen like this:\r\n1. restart1 stops puma1\r\n2. restart1 starts puma1\r\n3. restart1 stops puma2 AND restart2 stops puma1 # Now I'm down!\r\n4. restart1 starts puma2 AND restart2 starts puma1\r\n5. restart2 stops puma2\r\n6. restart2 starts puma2\r\n\r\neye doesn't seem to keep track of the restart sequence as a whole in order to properly queue individual restarts separately.\r\n"}}