gearman-ruby
gearman-ruby copied to clipboard
undefined method `hostport' for <ip:port> (connected: false):Gearman::Connection
I think
message = "Network error on read from #{connection.hostport} while adding job, marking server bad"
should be
message = "Network error on read from #{connection.to_host_port} while adding job, marking server bad"
I don't see hostport
defined in the Connection
class
Was this fixed?
Hmmm not sure I ever got the pull request completed for this but here's the fix: https://github.com/tamoyal/gearman-ruby/commit/4d03d23f2e7aec03fe9d359ffc23dce04ef7439a ...quite simple
And here is the PR: https://github.com/johnewart/gearman-ruby/pull/27
@johnewart any chance we can get this pulled in?