• Oswaldo Ferreira's avatar
    Avoid loading workers before setting Sidekiq defaults · 936784e7
    Oswaldo Ferreira authored
    Not a current bug, but it's possible that Sidekiq workers
    are referenced before having a chance to load its defaults.
    
    It means that it could run a worker with a wrong `retry`
    default, for instance.
    
    Here we solve that by loading it at the
    `config/initializers_before_autoloader`, which is a
    initializer that loads before autoloading happens.
    936784e7
sidekiq.rb 3.91 KB