Move SidekiqConfig methods used by CLI to own module
These methods can't use any Rails dependencies, which also means the SidekiqConfig module definition - i.e. constants - can't use Rails dependencies either. Move those methods to their own module to make this clearer. Also switch to defining methods on the singleton class in both modules to make private methods more convenient.
Showing
Please register or sign in to comment