1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-18 21:28:54 +00:00

Decrease gravatar timeout

This commit is contained in:
M66B 2020-01-21 11:12:28 +01:00
parent 52035e9e24
commit a7e737ea50

View file

@ -60,8 +60,8 @@ public class ContactInfo {
private static final ExecutorService executor =
Helper.getBackgroundExecutor(1, "contact");
private static final int GRAVATAR_TIMEOUT = 15 * 1000; // milliseconds
private static final long CACHE_CONTACT_DURATION = 120 * 1000L; // milliseconds
private static final int GRAVATAR_TIMEOUT = 5 * 1000; // milliseconds
private static final long CACHE_CONTACT_DURATION = 2 * 60 * 1000L; // milliseconds
private ContactInfo() {
}