class SidekiqUniqueJobs::UpdateVersion
@author Mikael Henriksson <mikael@zoolutions.se>
Class UpdateVersion sets the right version in redis
def self.call
-
(true)
- when version changed
Other tags:
- Note: - the version isn't used yet but will be for automatic upgrades
def self.call Script::Caller.call_script( :update_version, keys: [LIVE_VERSION, DEAD_VERSION], argv: [SidekiqUniqueJobs.version], ) end