More aggressive silencing join/quit messages.
To 5 per minute from 20.
This commit is contained in:
parent
fa68ba9ee8
commit
d5bc0e45ec
|
|
@ -1021,7 +1021,7 @@ class PlayerEventHandler implements Listener
|
||||||
private boolean shouldSilenceNotification()
|
private boolean shouldSilenceNotification()
|
||||||
{
|
{
|
||||||
final long ONE_MINUTE = 60000;
|
final long ONE_MINUTE = 60000;
|
||||||
final int MAX_ALLOWED = 20;
|
final int MAX_ALLOWED = 5;
|
||||||
Long now = Calendar.getInstance().getTimeInMillis();
|
Long now = Calendar.getInstance().getTimeInMillis();
|
||||||
|
|
||||||
//eliminate any expired entries (longer than a minute ago)
|
//eliminate any expired entries (longer than a minute ago)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user