{"action":"created","issue":{"url":"https://api.github.com/repos/kerryjiang/SuperSocket/issues/169","repository_url":"https://api.github.com/repos/kerryjiang/SuperSocket","labels_url":"https://api.github.com/repos/kerryjiang/SuperSocket/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/kerryjiang/SuperSocket/issues/169/comments","events_url":"https://api.github.com/repos/kerryjiang/SuperSocket/issues/169/events","html_url":"https://github.com/kerryjiang/SuperSocket/issues/169","id":369411764,"node_id":"MDU6SXNzdWUzNjk0MTE3NjQ=","number":169,"title":"Delay in receiving the message","user":{"login":"AmitaKhatri","id":15650986,"node_id":"MDQ6VXNlcjE1NjUwOTg2","avatar_url":"https://avatars3.githubusercontent.com/u/15650986?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitaKhatri","html_url":"https://github.com/AmitaKhatri","followers_url":"https://api.github.com/users/AmitaKhatri/followers","following_url":"https://api.github.com/users/AmitaKhatri/following{/other_user}","gists_url":"https://api.github.com/users/AmitaKhatri/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitaKhatri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitaKhatri/subscriptions","organizations_url":"https://api.github.com/users/AmitaKhatri/orgs","repos_url":"https://api.github.com/users/AmitaKhatri/repos","events_url":"https://api.github.com/users/AmitaKhatri/events{/privacy}","received_events_url":"https://api.github.com/users/AmitaKhatri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-12T06:07:26Z","updated_at":"2018-10-12T07:19:25Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am using 1.6.6.1 version of Super Socket. I have came across a scenario where some of the clients are randomly receiving the messages with delay. I am not sure what could be the reason for the delay. They are using Chrome 69.0.3497.100. Is there any way to debug and resolve this issue?"},"comment":{"url":"https://api.github.com/repos/kerryjiang/SuperSocket/issues/comments/429229648","html_url":"https://github.com/kerryjiang/SuperSocket/issues/169#issuecomment-429229648","issue_url":"https://api.github.com/repos/kerryjiang/SuperSocket/issues/169","id":429229648,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTIyOTY0OA==","user":{"login":"AmitaKhatri","id":15650986,"node_id":"MDQ6VXNlcjE1NjUwOTg2","avatar_url":"https://avatars3.githubusercontent.com/u/15650986?v=4","gravatar_id":"","url":"https://api.github.com/users/AmitaKhatri","html_url":"https://github.com/AmitaKhatri","followers_url":"https://api.github.com/users/AmitaKhatri/followers","following_url":"https://api.github.com/users/AmitaKhatri/following{/other_user}","gists_url":"https://api.github.com/users/AmitaKhatri/gists{/gist_id}","starred_url":"https://api.github.com/users/AmitaKhatri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmitaKhatri/subscriptions","organizations_url":"https://api.github.com/users/AmitaKhatri/orgs","repos_url":"https://api.github.com/users/AmitaKhatri/repos","events_url":"https://api.github.com/users/AmitaKhatri/events{/privacy}","received_events_url":"https://api.github.com/users/AmitaKhatri/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T07:19:25Z","updated_at":"2018-10-12T07:19:25Z","author_association":"NONE","body":"I am just sending some json formatted data. Here is the sample code of pushing the data to socket:\r\n\r\n\tpublic static void SendMessageToClient(string message, string client)\r\n\t{\r\n\t\tif ((Global.ws != null) && (Global.ws.State == ServerState.Running))\r\n\t\t{\r\n\t\t\tvar sessions = Global.ws.GetAllSessions();\r\n\t\t\tif (sessions == null)\r\n\t\t\t\treturn;\r\n\t\t\tsessions = sessions.Where(s => s != null && s.Connected && s.Cookies != null && s.Cookies[\"Client\"] == client);\r\n\r\n\t\t\tforeach (var session in sessions)\r\n\t\t\t{\r\n\t\t\t\tsession.Send(message);\r\n\t\t\t}\r\n\t\t}\r\n\t}"}}
{"actor":{"display_login":"AmitaKhatri"}}