diff --git a/ee/tabby-webserver/src/service/background_job/daily.rs b/ee/tabby-webserver/src/service/background_job/daily.rs index c2d162e2dec6..a6ed248798cc 100644 --- a/ee/tabby-webserver/src/service/background_job/daily.rs +++ b/ee/tabby-webserver/src/service/background_job/daily.rs @@ -1,11 +1,11 @@ use std::sync::Arc; -use crate::service::background_job::LicenseCheckJob; use chrono::Utc; use serde::{Deserialize, Serialize}; use tabby_schema::{license::LicenseService, notification::NotificationService}; use super::helper::Job; +use crate::service::background_job::LicenseCheckJob; #[derive(Debug, Serialize, Deserialize, Clone)] pub struct DailyJob; diff --git a/ee/tabby-webserver/src/service/background_job/hourly.rs b/ee/tabby-webserver/src/service/background_job/hourly.rs index fa0a8d39daca..c6d8f3bc128f 100644 --- a/ee/tabby-webserver/src/service/background_job/hourly.rs +++ b/ee/tabby-webserver/src/service/background_job/hourly.rs @@ -1,9 +1,5 @@ use std::sync::Arc; -use crate::service::background_job::{ - db::DbMaintainanceJob, IndexGarbageCollection, SchedulerGitJob, SchedulerGithubGitlabJob, - SyncIntegrationJob, -}; use chrono::Utc; use serde::{Deserialize, Serialize}; use tabby_db::DbConn; @@ -15,6 +11,10 @@ use tabby_schema::{ }; use super::helper::Job; +use crate::service::background_job::{ + db::DbMaintainanceJob, IndexGarbageCollection, SchedulerGitJob, SchedulerGithubGitlabJob, + SyncIntegrationJob, +}; #[derive(Debug, Serialize, Deserialize, Clone)] pub struct HourlyJob;