Nick Gauthier

Results 53 comments of Nick Gauthier

Thanks On Fri, Apr 17, 2015 at 2:12 PM, Sebastian Nowak [email protected] wrote: > It is because newer version of rack has Rack::HiJackWrapper with slighty > different interface which tubesock...

Did you follow his "Running on Heroku" steps? Are there errors in the JS console?

@guilleiguaran @emmanuelmillionaer yes, please check the chrome dev console to see if there is an error with the socket connecting. Also, I wrote this example a long time ago, not...

@tbuehlmann yup, that's what tubesock does, pretty much. @hebnern the main reason I came up with tubesock is because I didn't want to use EM. Because EM can only process...

Yup. also, this code only occurs if you use tubesock/hijack for rails. Ideally plain tubesock would not do this, and you could hijack yourself if you wanted a slightly different...

If you ever know you're done with the DB, but you're keeping the connection open for longer, just run this line: https://github.com/ngauthier/tubesock/blob/master/lib/tubesock/hijack.rb#L33 (you don't need the `if defined? ActiveRecord` part)

We're talking on this at #24 too. He means after a callback is executed the user's code is not run until the next callback, so clean db connections after callbacks.

I'm sorry I don't know On Sep 25, 2017 11:48 AM, "Xavier Anguera" wrote: > Hi, > I am trying to setup a connection between Tubesock and the Android library...

No it does not. A new type for ping and pong would need to be added here: https://github.com/ngauthier/tubesock/blob/master/lib/tubesock.rb#L140-L145

Did you try `tubesock.close` from https://github.com/ngauthier/tubesock/blob/master/lib/tubesock.rb#L70 ?