1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-20 08:32:41 +00:00

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
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![