socialpandas / sidekiq-priority

Prioritize Sidekiq jobs within queues
MIT License
47 stars 6 forks source link

Using the default priority queue rather than creating an invalid one #7

Open djalkalai opened 10 years ago

djalkalai commented 10 years ago

Modifying priority queue creation to place a job with a priority that is not found in Sidekiq::Priority.priorities in the default queue, rather than creating a new invalid one. This prevents a possible user error from placing jobs into a queue that is not being processed, placing them instead into the default queue.