{"action":"created","issue":{"url":"https://api.github.com/repos/Barbosik/MultiOgar/issues/88","repository_url":"https://api.github.com/repos/Barbosik/MultiOgar","labels_url":"https://api.github.com/repos/Barbosik/MultiOgar/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/Barbosik/MultiOgar/issues/88/comments","events_url":"https://api.github.com/repos/Barbosik/MultiOgar/issues/88/events","html_url":"https://github.com/Barbosik/MultiOgar/issues/88","id":162744327,"number":88,"title":"Disconnecting bug","user":{"login":"Prime55","id":18355005,"avatar_url":"https://avatars.githubusercontent.com/u/18355005?v=3","gravatar_id":"","url":"https://api.github.com/users/Prime55","html_url":"https://github.com/Prime55","followers_url":"https://api.github.com/users/Prime55/followers","following_url":"https://api.github.com/users/Prime55/following{/other_user}","gists_url":"https://api.github.com/users/Prime55/gists{/gist_id}","starred_url":"https://api.github.com/users/Prime55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prime55/subscriptions","organizations_url":"https://api.github.com/users/Prime55/orgs","repos_url":"https://api.github.com/users/Prime55/repos","events_url":"https://api.github.com/users/Prime55/events{/privacy}","received_events_url":"https://api.github.com/users/Prime55/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-28T17:42:38Z","updated_at":"2016-06-28T18:06:30Z","closed_at":null,"body":"If leave a tab opened without being on it, after 3-5 minutes i get disconnected and connected again and sometimes i don't reconnect until i refresh the page. I use chrome and the normal agario client. @Barbosik "},"comment":{"url":"https://api.github.com/repos/Barbosik/MultiOgar/issues/comments/229132657","html_url":"https://github.com/Barbosik/MultiOgar/issues/88#issuecomment-229132657","issue_url":"https://api.github.com/repos/Barbosik/MultiOgar/issues/88","id":229132657,"user":{"login":"Barbosik","id":19355276,"avatar_url":"https://avatars.githubusercontent.com/u/19355276?v=3","gravatar_id":"","url":"https://api.github.com/users/Barbosik","html_url":"https://github.com/Barbosik","followers_url":"https://api.github.com/users/Barbosik/followers","following_url":"https://api.github.com/users/Barbosik/following{/other_user}","gists_url":"https://api.github.com/users/Barbosik/gists{/gist_id}","starred_url":"https://api.github.com/users/Barbosik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Barbosik/subscriptions","organizations_url":"https://api.github.com/users/Barbosik/orgs","repos_url":"https://api.github.com/users/Barbosik/repos","events_url":"https://api.github.com/users/Barbosik/events{/privacy}","received_events_url":"https://api.github.com/users/Barbosik/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T18:06:30Z","updated_at":"2016-06-28T18:06:30Z","body":"For example, if your log contains records like this:\r\n```\r\n[NONE ][20-03-03] CONNECTED 127.0.0.1:52578, origin: \"http://agar.io\"\r\n[NONE ][20-03-40] DISCONNECTED 127.0.0.1:52578, code: 1000, reason: \"Connection timeout\", name: \"\"\r\n```\r\n\r\nit's because serverTimeout set to 30. When you close tab with game in the browser, it stops to respond to the server. So server think that it's disconnected player and kicks him after 30 seconds.\r\nYou can disable it with serverTimeout = 0, or just increase timeout interval."}}
{"actor":{"display_login":"Barbosik"}}