From 0cb437083e0a09e20554a92b7a0fbce047c9c45f Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Mon, 6 Dec 2021 22:15:16 +0100 Subject: [PATCH] Slower forgiveness --- app/flood.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flood.py b/app/flood.py index d050aa9..3aa2c74 100644 --- a/app/flood.py +++ b/app/flood.py @@ -30,7 +30,7 @@ def setup(violations_threshold=100): threshold = violations_threshold scheduler = BackgroundScheduler() - scheduler.add_job(func=forgive_banned, trigger="interval", minutes=60) + scheduler.add_job(func=forgive_banned, trigger="interval", minutes=480) scheduler.start() # Shut down the scheduler when exiting the app