mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Make the redis server version error clearer (#4340)
This commit is contained in:
parent
4803d87969
commit
9275dca070
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ module Sidekiq
|
|||
# touch the connection pool so it is created before we
|
||||
# fire startup and start multithreading.
|
||||
ver = Sidekiq.redis_info["redis_version"]
|
||||
raise "You are using Redis v#{ver}, Sidekiq requires Redis v4.0.0 or greater" if ver < "4"
|
||||
raise "You are connecting to Redis v#{ver}, Sidekiq requires Redis v4.0.0 or greater" if ver < "4"
|
||||
|
||||
# Since the user can pass us a connection pool explicitly in the initializer, we
|
||||
# need to verify the size is large enough or else Sidekiq's performance is dramatically slowed.
|
||||
|
|
Loading…
Reference in a new issue