Reduced notification delay to 4 seconds

This commit is contained in:
Florian CUNY 2018-06-03 10:08:50 +02:00
parent f5b5426327
commit 3ab2c46eed

View File

@ -16,7 +16,7 @@ public class Notifier {
/**
* Time in seconds before {@link #notificationCache} removes the entry related to the player.
*/
private static final int NOTIFICATION_DELAY = 5;
private static final int NOTIFICATION_DELAY = 4;
private final LoadingCache<User, Notification> notificationCache = CacheBuilder.newBuilder()
.expireAfterAccess(NOTIFICATION_DELAY, TimeUnit.SECONDS)