w.keepalive(:socket_responding => "tcp:12345") ignored? #114

xanview opened this Issue Oct 17, 2012 · 0 comments


None yet

1 participant


Maybe I'm misunderstanding what I need to pass, but it seems the short hand :socket_responding is ignored or isn't implemented?

If I however do the full:

    w.restart_if do |restart|
      restart.condition(:socket_responding) do |c|
        c.interval = 10.seconds
        c.socket = "tcp:12345"

Then that works, but it would be nice to cut down on the extra code and be able to do a simple:

    w.keepalive(:socket_responding => "tcp:12345")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment