increase loggedout_counter limit to 2000

master
Aevann 2023-07-06 00:52:00 +03:00
parent b6e5ab9f23
commit bc13b908c8
1 changed files with 1 additions and 1 deletions

View File

@ -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')