Move to job_scheduler_ng

This commit is contained in:
Daniel García
2022-05-20 21:10:52 +02:00
parent 54c78cf06d
commit 16ff49d712
3 changed files with 47 additions and 66 deletions

View File

@ -397,7 +397,7 @@ async fn schedule_jobs(pool: db::DbPool) {
thread::Builder::new()
.name("job-scheduler".to_string())
.spawn(move || {
use job_scheduler::{Job, JobScheduler};
use job_scheduler_ng::{Job, JobScheduler};
let _runtime_guard = runtime.enter();
let mut sched = JobScheduler::new();