From bc13b908c886df551c0bc8ece013adc4b092acec Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 6 Jul 2023 00:52:00 +0300 Subject: [PATCH] increase loggedout_counter limit to 2000 --- files/routes/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index face81d9d..14f679ce9 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -56,7 +56,7 @@ def calc_users(): g.loggedin_counter = len(loggedin) g.loggedout_counter = len(loggedout) - if g.loggedout_counter > 1000: + if g.loggedout_counter > 2000: if not get_setting('ddos_detected'): toggle_setting('ddos_detected') set_security_level('under_attack')