Procházet zdrojové kódy

lower syncRequests cache threshold

tags/v0.1.8
Jonathan Cobb před 4 roky
rodič
revize
8788720e60
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      bubble-server/src/main/java/bubble/service/notify/NotificationService.java

+ 2
- 2
bubble-server/src/main/java/bubble/service/notify/NotificationService.java Zobrazit soubor

@@ -139,8 +139,8 @@ public class NotificationService {
return null;
}

private final Map<String, SynchronousNotification> syncRequests = new ExpirationMap<>(SECONDS.toMillis(160));
private final Map<String, SynchronousNotification> syncRequestCache = new ExpirationMap<>(SECONDS.toMillis(150));
private final Map<String, SynchronousNotification> syncRequests = new ExpirationMap<>(SECONDS.toMillis(20));
private final Map<String, SynchronousNotification> syncRequestCache = new ExpirationMap<>(SECONDS.toMillis(15));

public <T> T notifySync(BubbleNode delegate, NotificationType type, SynchronousNotification notification) {
final String cacheKey = notification.getCacheKey(delegate, type);


Načítá se…
Zrušit
Uložit