diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index ff19b52125..7af15a99fa 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -56,11 +56,10 @@ public class ContactInfo { private Uri lookupUri; private long time; - private static Object lock = new Object(); private static Map emailLookup = new ConcurrentHashMap<>(); private static Map emailContactInfo = new HashMap<>(); - private static final long CACHE_CONTACT_DURATION = 60 * 1000L; + private static final long CACHE_CONTACT_DURATION = 120 * 1000L; private ContactInfo() { }