Adds configs to disable laggy hard deletes (#59750)

cl
server: Added configs to disable laggy hard deletes once they lag the server too much.
admin: laggy hard deletes only output once per type path.
/cl

closes #58379
This commit is contained in:
Kyle Spier-Swenson
2021-06-28 10:31:03 +12:00
committed by GitHub
parent 56ec8af075
commit 7ace8da9e0
6 changed files with 76 additions and 29 deletions
@@ -514,3 +514,12 @@
/// URL for admins to be redirected to for 2FA
/datum/config_entry/string/admin_2fa_url
/datum/config_entry/number/hard_deletes_overrun_threshold
integer = FALSE
min_val = 0
config_entry_value = 0.5
/datum/config_entry/number/hard_deletes_overrun_limit
config_entry_value = 0
min_val = 0