From be88f289c792a1f4d3104d0f05d482fd5d263b15 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 15 Jul 2022 13:03:13 -0400 Subject: [PATCH] More forgiving --- app/flood.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flood.py b/app/flood.py index bc7fc1d..088cf64 100644 --- a/app/flood.py +++ b/app/flood.py @@ -31,7 +31,7 @@ def setup(violations_threshold=100): threshold = violations_threshold scheduler = BackgroundScheduler() - scheduler.add_job(func=forgive_banned, trigger="interval", minutes=480) + scheduler.add_job(func=forgive_banned, trigger="interval", minutes=30) scheduler.start() # Shut down the scheduler when exiting the app