Bladeren bron

lower syncRequests cache threshold

tags/v0.1.8
Jonathan Cobb 4 jaren geleden
bovenliggende
commit
8788720e60
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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 Bestand weergeven

@@ -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…
Annuleren
Opslaan