Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 3114474

Browse files
committed
fix(searchCache): Change search cache from 2s to 120s
1 parent b87700a commit 3114474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algoliasearch/src/main/java/com/algolia/search/saas/ExpiringCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
class ExpiringCache<K, V> {
1212
public static final TimeUnit expirationTimeUnit = TimeUnit.SECONDS;
13-
public static final int defaultExpirationTimeout = 2;
13+
public static final int defaultExpirationTimeout = 120;
1414
public static final int defaultMaxSize = 64;
1515
public final int expirationTimeout; // Time after which a cache entry is invalidated
1616

0 commit comments

Comments
 (0)