refactor(scheduler): move scheduler to new crate to support workflows in multiple crates (#1681)

This commit is contained in:
Jagan
2023-09-06 13:11:09 +05:30
committed by GitHub
parent ec4652ec09
commit d4221f3368
72 changed files with 1966 additions and 1124 deletions

View File

@ -13,7 +13,7 @@ pub mod db;
pub mod env;
pub(crate) mod macros;
pub mod routes;
pub mod scheduler;
pub mod workflows;
pub mod middleware;
pub mod openapi;
@ -28,12 +28,13 @@ use actix_web::{
};
use http::StatusCode;
use routes::AppState;
use storage_impl::errors::ApplicationResult;
use tokio::sync::{mpsc, oneshot};
pub use self::env::logger;
use crate::{
configs::settings,
core::errors::{self, ApplicationResult},
core::errors::{self},
};
#[cfg(feature = "mimalloc")]