Skip to content

Commit

Permalink
Less sensitive ddos detection
Browse files Browse the repository at this point in the history
  • Loading branch information
def- committed Jul 18, 2024
1 parent ac4e07d commit 29c9c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class ServerInfo:

Packets = namedtuple('Packets', 'rx tx')

PPS_THRESHOLD = 10000 # china got a lot players
PPS_THRESHOLD = 30000 # china got a lot players
PPS_RATIO_MIN = 1000 # ratio is not reliable for low traffic
PPS_RATIO_THRESHOLD = 2.5 # responding to less than half the traffic indicates junk traffic

Expand Down

0 comments on commit 29c9c8f

Please sign in to comment.