* Periodic tasks * schedule next execution * add scheduler * ignore test * fix clippy * make start public * check if the period task already exists * do not insert task if it's already in the queue * fix tests
24 lines
357 B
Rust
24 lines
357 B
Rust
#![allow(clippy::nonstandard_macro_braces)]
|
|
|
|
#[macro_use]
|
|
extern crate diesel;
|
|
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
mod schema;
|
|
|
|
pub mod executor;
|
|
pub mod postgres;
|
|
pub mod scheduler;
|
|
pub mod worker_pool;
|
|
|
|
pub use executor::*;
|
|
pub use postgres::*;
|
|
pub use worker_pool::*;
|
|
|
|
#[doc(hidden)]
|
|
pub use serde::{Deserialize, Serialize};
|
|
#[doc(hidden)]
|
|
pub use typetag;
|