From 7207eb2911e1c436cb477f1581917612d80a2723 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 23 Jun 2023 11:03:29 +0300 Subject: [PATCH] reduce ddos cutoff to 1300 --- files/routes/jinja2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/jinja2.py b/files/routes/jinja2.py index 8097baeeb..95afdee12 100644 --- a/files/routes/jinja2.py +++ b/files/routes/jinja2.py @@ -107,7 +107,7 @@ def calc_users(): loggedin_counter = len(loggedin) loggedout_counter = len(loggedout) - if loggedout_counter > 1500: + if loggedout_counter > 1300: if not get_setting('ddos_detected'): toggle_setting('ddos_detected') set_security_level('under_attack')