Increase IdentityKey cache size.

This commit is contained in:
Nicholas Tinsley 2023-11-04 14:32:51 -04:00
parent 2782216e52
commit a9ee7e93fd

View file

@ -264,7 +264,7 @@ public class SignalBaseIdentityKeyStore {
Cache(@NonNull IdentityTable identityDatabase) { Cache(@NonNull IdentityTable identityDatabase) {
this.identityDatabase = identityDatabase; this.identityDatabase = identityDatabase;
this.cache = new LRUCache<>(200); this.cache = new LRUCache<>(1000);
} }
public @Nullable IdentityStoreRecord get(@NonNull String addressName) { public @Nullable IdentityStoreRecord get(@NonNull String addressName) {