mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-01 07:03:26 +01:00
Reduced notification delay to 4 seconds
This commit is contained in:
parent
f5b5426327
commit
3ab2c46eed
@ -16,7 +16,7 @@ public class Notifier {
|
|||||||
/**
|
/**
|
||||||
* Time in seconds before {@link #notificationCache} removes the entry related to the player.
|
* 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()
|
private final LoadingCache<User, Notification> notificationCache = CacheBuilder.newBuilder()
|
||||||
.expireAfterAccess(NOTIFICATION_DELAY, TimeUnit.SECONDS)
|
.expireAfterAccess(NOTIFICATION_DELAY, TimeUnit.SECONDS)
|
||||||
|
Loading…
Reference in New Issue
Block a user