{"action":"opened","issue":{"url":"https://api.github.com/repos/j3k0/ganomede-notifications/issues/6","labels_url":"https://api.github.com/repos/j3k0/ganomede-notifications/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/j3k0/ganomede-notifications/issues/6/comments","events_url":"https://api.github.com/repos/j3k0/ganomede-notifications/issues/6/events","html_url":"https://github.com/j3k0/ganomede-notifications/issues/6","id":63665704,"number":6,"title":"What happens if an users is connected on 2 devices?","user":{"login":"j3k0","id":191881,"avatar_url":"https://avatars.githubusercontent.com/u/191881?v=3","gravatar_id":"","url":"https://api.github.com/users/j3k0","html_url":"https://github.com/j3k0","followers_url":"https://api.github.com/users/j3k0/followers","following_url":"https://api.github.com/users/j3k0/following{/other_user}","gists_url":"https://api.github.com/users/j3k0/gists{/gist_id}","starred_url":"https://api.github.com/users/j3k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3k0/subscriptions","organizations_url":"https://api.github.com/users/j3k0/orgs","repos_url":"https://api.github.com/users/j3k0/repos","events_url":"https://api.github.com/users/j3k0/events{/privacy}","received_events_url":"https://api.github.com/users/j3k0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-23T08:48:43Z","updated_at":"2015-03-23T08:48:43Z","closed_at":null,"body":"A `timeout` is triggered whenever a new call to /messages is done.\r\n\r\nFrom my understanding, if a user were to connect on 2 devices simultaneously, this would have the \"dramatic\" effect of causing them to flood the server with requests.\r\n\r\n(Devices A and B)\r\n```\r\nA GET /message\r\nB GET /message\r\nA timeout triggered (because of B)\r\nA GET /message\r\nB timeout triggered (because of A)\r\nB GET /message\r\nA timeout triggered\r\n...\r\n```\r\n\r\nThe way it's designed, I don't see any simple solution to allow multiple client sharing the same username to run in parallel.\r\n\r\nFor now, I prevented the \"dramatic\" effect to happen with a simple fix."}}