{"action":"created","issue":{"url":"https://api.github.com/repos/gliderlabs/registrator/issues/73","labels_url":"https://api.github.com/repos/gliderlabs/registrator/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/gliderlabs/registrator/issues/73/comments","events_url":"https://api.github.com/repos/gliderlabs/registrator/issues/73/events","html_url":"https://github.com/gliderlabs/registrator/issues/73","id":51973452,"number":73,"title":"Some containers registration is skipped (race condition)","user":{"login":"zhilvis","id":60049,"avatar_url":"https://avatars.githubusercontent.com/u/60049?v=3","gravatar_id":"","url":"https://api.github.com/users/zhilvis","html_url":"https://github.com/zhilvis","followers_url":"https://api.github.com/users/zhilvis/followers","following_url":"https://api.github.com/users/zhilvis/following{/other_user}","gists_url":"https://api.github.com/users/zhilvis/gists{/gist_id}","starred_url":"https://api.github.com/users/zhilvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhilvis/subscriptions","organizations_url":"https://api.github.com/users/zhilvis/orgs","repos_url":"https://api.github.com/users/zhilvis/repos","events_url":"https://api.github.com/users/zhilvis/events{/privacy}","received_events_url":"https://api.github.com/users/zhilvis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gliderlabs/registrator/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-15T11:05:32Z","updated_at":"2015-02-19T02:09:35Z","closed_at":"2015-02-19T02:09:35Z","body":"I have issue that one container starting right after registrator container is skipped, sometimes. Looking at the code I see that theoretically its possible that it would happen in between when fetching and registering existing containers and adding listeners for new ones.\r\nMaybe it would help if event listener would be registered right before fetching existing containers?"},"comment":{"url":"https://api.github.com/repos/gliderlabs/registrator/issues/comments/74988026","html_url":"https://github.com/gliderlabs/registrator/issues/73#issuecomment-74988026","issue_url":"https://api.github.com/repos/gliderlabs/registrator/issues/73","id":74988026,"user":{"login":"progrium","id":647,"avatar_url":"https://avatars.githubusercontent.com/u/647?v=3","gravatar_id":"","url":"https://api.github.com/users/progrium","html_url":"https://github.com/progrium","followers_url":"https://api.github.com/users/progrium/followers","following_url":"https://api.github.com/users/progrium/following{/other_user}","gists_url":"https://api.github.com/users/progrium/gists{/gist_id}","starred_url":"https://api.github.com/users/progrium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/progrium/subscriptions","organizations_url":"https://api.github.com/users/progrium/orgs","repos_url":"https://api.github.com/users/progrium/repos","events_url":"https://api.github.com/users/progrium/events{/privacy}","received_events_url":"https://api.github.com/users/progrium/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T02:09:35Z","updated_at":"2015-02-19T02:09:35Z","body":"Oh, yes that's right."}}