wr0ngway / sidekiq-dynamic-queues

A sidekiq plugin for specifying the queues a worker pulls from with wildcards, negations, or dynamic look up from redis
MIT License
17 stars 22 forks source link

add support for sidekiq 4 #8

Closed schoblaska closed 8 years ago

schoblaska commented 8 years ago

In Sidekiq 4, the Sidekiq::Fetcher class was removed, and the TIMEOUT constant now lives on Sidekiq::BasicFetch. This PR changes the Sidekiq::DynamicQueues::Fetch class so that it can use either, and works with both Sidekiq 3 and 4.

I also bumped the version to 1.0.1.