Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jquery Pub/Sub with multiple channel hangs #40

Closed
vyvakz opened this issue Oct 19, 2011 · 1 comment
Closed

Jquery Pub/Sub with multiple channel hangs #40

vyvakz opened this issue Oct 19, 2011 · 1 comment

Comments

@vyvakz
Copy link

vyvakz commented Oct 19, 2011

I have been trying to subscribe to multiple channels using the Jquery pub/sub example which actually hangs when i try to subscribe and publish.

Code Snippet -
for(var i = 0; i < 10; i++) {
subscribe(i);
}
function subscribe(channel_id) {
// jquery.atmosphere.response
function callback(response) {
// Websocket events.
$.atmosphere.log('info', ["response.state: " + response.state]);


    <a href="javascript:send_message(0)" title="For Bidding" >on click hangs the request

Environment -
atmosphere 0.7.2
Tomcat 7.0.12 with Nio connector

Any help would be great!!

Thanks,
-Viv

@jfarcand
Copy link
Member

This is a browser limitation. You must use WebSocket or configuire the Browser to allow enough requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants