1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Change "really needs" to "must" in redis_connection.rb

This is just a semantic change, but if the program is going to crash, I think "must have" is more prescriptive than "really needs to have". 

In my mind, "really needs to have" implies that the program will continue run but the user should do something differently in the future.
This commit is contained in:
Pete Doherty 2017-11-07 12:10:06 -05:00 committed by Mike Perham
parent e19dd4761d
commit 5b036086c5

View file

@ -38,7 +38,7 @@ module Sidekiq
# - enterprise's leader election
# - enterprise's cron support
def verify_sizing(size, concurrency)
raise ArgumentError, "Your Redis connection pool is too small for Sidekiq to work. Your pool has #{size} connections but really needs to have at least #{concurrency + 2}" if size <= concurrency
raise ArgumentError, "Your Redis connection pool is too small for Sidekiq to work. Your pool has #{size} connections but must have at least #{concurrency + 2}" if size <= concurrency
end
def build_client(options)