You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have simply installed the gem as the README says, and this is my configuration of Resque::Schedule
task "resque:setup_schedule" => "resque:setup" do
require 'resque-scheduler'
Resque::Scheduler.dynamic = true
end
task "resque:scheduler" => "resque:setup_schedule"
But resque-scheduler-web behaves like Resque::Scheduler is not set on dynamic. Looking at the code I see the it read the Resque::Scheduler.dynamic (for example in the index view of the scheduler page), and in my case it reads it as it is false. But scheduler is set up correctly, I can see that it dynamically schedules the jobs.
Why scheduler-web can't read it right? What it could be?
The text was updated successfully, but these errors were encountered:
As you can see here, when using a dynamic scheduler with a rails application, it is needed to set Resque::Scheduler.dynamic in the initializers of the rails app.
I know this gem is not designed to be used only on rails, but I think that it should be a pretty common use case, maybe it is worth mentioning in the README
I have simply installed the gem as the README says, and this is my configuration of Resque::Schedule
But resque-scheduler-web behaves like Resque::Scheduler is not set on dynamic. Looking at the code I see the it read the
Resque::Scheduler.dynamic
(for example in the index view of the scheduler page), and in my case it reads it as it isfalse
. But scheduler is set up correctly, I can see that it dynamically schedules the jobs.Why scheduler-web can't read it right? What it could be?
The text was updated successfully, but these errors were encountered: