The README suggests:
For normal work with fresh resque and resque-scheduler gems add next lines in lib/rake/resque.rake
task "resque:pool:setup" do
Resque::Pool.after_prefork do |job|
Resque.redis.client.reconnect
end
end
However, in redis 5.x, it appears #reconnect is no longer available, that code raises:
NoMethodError: undefined method 'reconnect' for #<Redis::Client ...
Not sure what the appropriate replacement is, but seems like it's not that....