mirror of
https://github.com/deanpcmad/sidekiq-limit_fetch.git
synced 2022-11-09 13:54:36 -05:00
Restore compatibility with latest sidekiq
This commit is contained in:
parent
908278299a
commit
2349415df3
2 changed files with 5 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
|||
require 'sidekiq'
|
||||
require 'sidekiq/fetch'
|
||||
require 'forwardable'
|
||||
|
||||
class Sidekiq::LimitFetch
|
||||
require_relative 'limit_fetch/unit_of_work'
|
||||
autoload :UnitOfWork, 'sidekiq/limit_fetch/unit_of_work'
|
||||
|
||||
require_relative 'limit_fetch/singleton'
|
||||
require_relative 'limit_fetch/queues'
|
||||
require_relative 'limit_fetch/local/semaphore'
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
require 'sidekiq/limit_fetch'
|
||||
require 'celluloid/autostart'
|
||||
require 'sidekiq/fetch'
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.before :each do
|
||||
|
|
Loading…
Reference in a new issue