forked from rDrama/rDrama
print-debug + tempfix
parent
11cf3be75b
commit
3d0b443e40
|
@ -61,7 +61,8 @@ def calc_users():
|
|||
else:
|
||||
ddos_threshold = 1000
|
||||
|
||||
if g.loggedin_counter + g.loggedout_counter > ddos_threshold:
|
||||
print(g.loggedout_counter, flush=True)
|
||||
if SITE == 'rdrama.net' or g.loggedin_counter + g.loggedout_counter > ddos_threshold:
|
||||
if not get_setting('under_attack'):
|
||||
set_setting('under_attack', True)
|
||||
set_security_level('under_attack')
|
||||
|
|
Loading…
Reference in New Issue