We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c65a2e4 + 8bee76e commit 4efe5c0Copy full SHA for 4efe5c0
lib/redmine_sidekiq/configure.rb
@@ -1,5 +1,10 @@
1
require 'sidekiq'
2
3
+# Enable extensions if sidekiq version > 4
4
+if Sidekiq::Extensions.respond_to?(:enable_delay!)
5
+ Sidekiq::Extensions.enable_delay!
6
+end
7
+
8
module RedmineSidekiq
9
class Configure
10
file = File.join(Rails.root, 'plugins/redmine_sidekiq/config/sidekiq.yml')
0 commit comments