forked from rDrama/rDrama
increase ddos_detected limit to 3000
parent
a775786d24
commit
29876efcca
|
@ -56,7 +56,7 @@ def calc_users():
|
||||||
g.loggedin_counter = len(loggedin)
|
g.loggedin_counter = len(loggedin)
|
||||||
g.loggedout_counter = len(loggedout)
|
g.loggedout_counter = len(loggedout)
|
||||||
|
|
||||||
if g.loggedout_counter > 2000:
|
if g.loggedout_counter > 3000:
|
||||||
if not get_setting('ddos_detected'):
|
if not get_setting('ddos_detected'):
|
||||||
toggle_setting('ddos_detected')
|
toggle_setting('ddos_detected')
|
||||||
set_security_level('under_attack')
|
set_security_level('under_attack')
|
||||||
|
|
Loading…
Reference in New Issue