File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,11 @@ task "resque:pool:setup" do
7777end
7878` ` `
7979
80+ # ## Old versions of the redis gem
8081
81- For normal work with fresh resque and resque-scheduler gems add next lines in lib/rake/resque.rake
82+ Very old versions of the redis gem (prior to v3.1.0, released 2014-06-06), did
83+ not automatically disconnect and reconnect after forking. To safely use those
84+ old versions of the redis gem, add the following to lib/rake/resque.rake :
8285
8386` ` ` ruby
8487task "resque:pool:setup" do
@@ -88,6 +91,9 @@ task "resque:pool:setup" do
8891end
8992` ` `
9093
94+ Note that the above lines will not work with the redis gem, since v5.0. But it
95+ isn't needed, either!
96+
9197# ## Start the pool manager
9298
9399Then you can start the queues via :
You can’t perform that action at this time.
0 commit comments