Quellcode durchsuchen

lower syncRequests cache threshold

tags/v0.1.8
Jonathan Cobb vor 4 Jahren
Ursprung
Commit
8788720e60
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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 Datei anzeigen

@@ -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);


Laden…
Abbrechen
Speichern