mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-05 20:14:58 +00:00
Offset scheduled jobs by 5 minutes
This is intended to avoid contention with database backups that many users probably schedule to start at exactly the top of an hour.
This commit is contained in:
parent
d77333576b
commit
90e0b7fec6
2 changed files with 6 additions and 6 deletions
|
@ -322,10 +322,10 @@ make_config! {
|
|||
job_poll_interval_ms: u64, false, def, 30_000;
|
||||
/// Send purge schedule |> Cron schedule of the job that checks for Sends past their deletion date.
|
||||
/// Defaults to hourly. Set blank to disable this job.
|
||||
send_purge_schedule: String, false, def, "0 0 * * * *".to_string();
|
||||
send_purge_schedule: String, false, def, "0 5 * * * *".to_string();
|
||||
/// Trash purge schedule |> Cron schedule of the job that checks for trashed items to delete permanently.
|
||||
/// Defaults to daily. Set blank to disable this job.
|
||||
trash_purge_schedule: String, false, def, "0 0 0 * * *".to_string();
|
||||
trash_purge_schedule: String, false, def, "0 5 0 * * *".to_string();
|
||||
},
|
||||
|
||||
/// General settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue