mperham/dalli — Issue #169: No connection timeout in jruby
Author: chrisochs
Created: 2012-02-14 03:06:59+00:00
State: open

At least with jruby 1.6.5, connect_nonblock is supported and works as expected. The current jruby specific code does not honor socket_timeout, it just hangs for like 30 seconds or so.

The current behavior for jruby is probably the last thing you want to happen. I would suggest getting rid of the jruby specific block in socket.rb, and just telling people they need to use a newer version of jruby.

Chris