Class: SidekiqUniqueJobs::UpdateVersion
- Inherits:
-
Object
- Object
- SidekiqUniqueJobs::UpdateVersion
- Defined in:
- lib/sidekiq_unique_jobs/update_version.rb
Overview
Class UpdateVersion sets the right version in redis
Class Method Summary collapse
-
.call ⇒ true
Sets the right versions in redis.
Class Method Details
.call ⇒ true
Note:
the version isn’t used yet but will be for automatic upgrades
Sets the right versions in redis
17 18 19 20 21 22 23 |
# File 'lib/sidekiq_unique_jobs/update_version.rb', line 17 def self.call Script::Caller.call_script( :update_version, keys: [LIVE_VERSION, DEAD_VERSION], argv: [SidekiqUniqueJobs.version], ) end |