Ver a proveniência

lower syncRequests cache threshold

tags/v0.1.8
Jonathan Cobb há 4 anos
ascendente
cometimento
8788720e60
1 ficheiros alterados com 2 adições e 2 eliminações
  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 Ver ficheiro

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


Carregando…
Cancelar
Guardar