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

Pusher connections stack up when using Turbolinks #42

Closed
barmstrong opened this issue Jun 25, 2013 · 2 comments
Closed

Pusher connections stack up when using Turbolinks #42

barmstrong opened this issue Jun 25, 2013 · 2 comments

Comments

@barmstrong
Copy link

Saw a similar issue here: chrismccord/render_sync#48

Seems to also happen using pusher with the popular Pusher gem https://github.com/rails/turbolinks/

I have the Pusher Javascript set up in a $(document).ready(... in the body of my page.

I'm thinking there might be a solution here around switching the load event or having the gem intelligently disconnect.

@mloughran
Copy link
Contributor

Can you report this on https://github.com/pusher/pusher-js instead - this ruby gem has nothing to do with the browser connection.

However, I would have thought that if one was using turbolinks one would want to reuse the same pusher connections across multiple 'page loads' for efficiency?

@mloughran
Copy link
Contributor

Closing

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