1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-15 22:22:42 +00:00

Move to job_scheduler_ng

This commit is contained in:
Daniel García 2022-05-20 21:10:52 +02:00
commit 16ff49d712
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
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();