{"action":"created","issue":{"url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/23","repository_url":"https://api.github.com/repos/centrifugal/centrifuge-js","labels_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/23/comments","events_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/23/events","html_url":"https://github.com/centrifugal/centrifuge-js/issues/23","id":193660355,"number":23,"title":"unsubscribe event triggered when attempting to subscribed to channels","user":{"login":"lmj0011","id":9396189,"avatar_url":"https://avatars.githubusercontent.com/u/9396189?v=3","gravatar_id":"","url":"https://api.github.com/users/lmj0011","html_url":"https://github.com/lmj0011","followers_url":"https://api.github.com/users/lmj0011/followers","following_url":"https://api.github.com/users/lmj0011/following{/other_user}","gists_url":"https://api.github.com/users/lmj0011/gists{/gist_id}","starred_url":"https://api.github.com/users/lmj0011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmj0011/subscriptions","organizations_url":"https://api.github.com/users/lmj0011/orgs","repos_url":"https://api.github.com/users/lmj0011/repos","events_url":"https://api.github.com/users/lmj0011/events{/privacy}","received_events_url":"https://api.github.com/users/lmj0011/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-06T01:39:33Z","updated_at":"2016-12-06T10:37:54Z","closed_at":null,"body":"**centrifuge@1.3.8**\r\n\r\nI have around 350 channels I attempt to subscribe to, on initialization of my app.\r\n\r\nI make the request for these subscriptions in between\r\nthe `startAuthBatch()` and  `stopAuthBatch()` functions. (channels are private)\r\n\r\n```js\r\nthis.centrifuge.startAuthBatching();\r\n\r\n        this.authChannels.forEach(channel => {\r\n          let userSub = this.centrifuge.subscribe(channel.name, SubCallbacks);\r\n          this.userMap.set(channel.name, userSub);\r\n        });\r\n\r\n  this.centrifuge.stopAuthBatching();\r\n```\r\n\r\nWhen I check out the console I get this.\r\n\r\n![err1](https://cloud.githubusercontent.com/assets/9396189/20909110/393b9466-bb1f-11e6-8965-b9b12ed0cbe6.png)\r\n\r\n![err2](https://cloud.githubusercontent.com/assets/9396189/20909113/3c94d8f2-bb1f-11e6-9ff6-518b4a664b22.png)\r\n\r\nThis wasn't a problem until recently so I don't believe the amount of subscriptions has anything to do with it.\r\n"},"comment":{"url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/comments/265116769","html_url":"https://github.com/centrifugal/centrifuge-js/issues/23#issuecomment-265116769","issue_url":"https://api.github.com/repos/centrifugal/centrifuge-js/issues/23","id":265116769,"user":{"login":"lmj0011","id":9396189,"avatar_url":"https://avatars.githubusercontent.com/u/9396189?v=3","gravatar_id":"","url":"https://api.github.com/users/lmj0011","html_url":"https://github.com/lmj0011","followers_url":"https://api.github.com/users/lmj0011/followers","following_url":"https://api.github.com/users/lmj0011/following{/other_user}","gists_url":"https://api.github.com/users/lmj0011/gists{/gist_id}","starred_url":"https://api.github.com/users/lmj0011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmj0011/subscriptions","organizations_url":"https://api.github.com/users/lmj0011/orgs","repos_url":"https://api.github.com/users/lmj0011/repos","events_url":"https://api.github.com/users/lmj0011/events{/privacy}","received_events_url":"https://api.github.com/users/lmj0011/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T10:37:54Z","updated_at":"2016-12-06T10:37:54Z","body":">Btw - there is a limit in Centrifugo - 100 channels max per client\r\n\r\nis this somewhere in the docs?\r\n\r\n>have you tuned it to achieve 350 channels per one client?\r\n\r\nI haven't, due to a recent change on my part, I'm trying to subscribe to an unknown amount of channels."}}
{"actor":{"display_login":"lmj0011"}}