class SidekiqUniqueJobs::UpdateVersion
Class UpdateVersion
sets the right version in redis
@author Mikael Henriksson <mikael@mhenrixon.com>
Public Class Methods
Source
# 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
Sets the right versions in redis
@note the version isn’t used yet but will be for automatic upgrades
@return [true] when version changed