Decrease gravatar timeout

This commit is contained in:
M66B 2020-01-21 11:12:28 +01:00
parent 52035e9e24
commit a7e737ea50
1 changed files with 2 additions and 2 deletions

View File

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