mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
FEATURE: new scheduler
Removed sidetiq, introduced new scheduler - add basic UI - add schedule discover - add scheduling in initializer
This commit is contained in:
@ -61,6 +61,12 @@ describe Scheduler::Manager do
|
||||
|
||||
end
|
||||
|
||||
describe '#discover_schedules' do
|
||||
it 'Discovers Testing::RandomJob' do
|
||||
Scheduler::Manager.discover_schedules.should include(Testing::RandomJob)
|
||||
end
|
||||
end
|
||||
|
||||
describe '#next_run' do
|
||||
it 'should be within the next 5 mins if it never ran' do
|
||||
|
||||
|
Reference in New Issue
Block a user