Add a generic job scheduler

Also rewrite deletion of old sends using the job scheduler.
This commit is contained in:
Jeremy Lin
2021-04-02 20:16:49 -07:00
parent a82c04910f
commit 73ff8d79f7
9 changed files with 126 additions and 31 deletions

View File

@@ -5,7 +5,7 @@ mod organizations;
pub mod two_factor;
mod sends;
pub use sends::start_send_deletion_scheduler;
pub use sends::purge_sends;
pub fn routes() -> Vec<Route> {
let mut mod_routes = routes![