diff --git a/Changes.md b/Changes.md index 5f6ded7e82..f121156fb7 100644 --- a/Changes.md +++ b/Changes.md @@ -1,10 +1,3 @@ -HEAD ------------ - -- Raise error if application tries to configure Redis after the pool has been - established. Sidekiq's redis connection cannot be dynamically changed - at runtime. [#1309] - 2.17.0 ----------- diff --git a/lib/sidekiq.rb b/lib/sidekiq.rb index b7204de821..8e8cec54d2 100644 --- a/lib/sidekiq.rb +++ b/lib/sidekiq.rb @@ -68,7 +68,6 @@ def self.redis(&block) end def self.redis=(hash) - raise "Sidekiq's redis pool has already been established, cannot configure" if @redis && !$TESTING return @redis = hash if hash.is_a?(ConnectionPool) if hash.is_a?(Hash)