Skip to content

Commit

Permalink
Update DiskCache.java
Browse files Browse the repository at this point in the history
  • Loading branch information
youfanx committed Jun 5, 2024
1 parent dd8a1af commit 7d9838f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rxlib/src/main/java/org/rx/core/cache/DiskCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class DiskCache<TK, TV> implements Cache<TK, TV>, EventPublisher<DiskCach
public final Delegate<DiskCache<TK, TV>, NEventArgs<Map.Entry<TK, TV>>> onExpired = Delegate.create();
final Cache<TK, DiskCacheItem<TV>> cache;
final KeyValueStore<TK, DiskCacheItem<TV>> store;
int defaultExpireSeconds = 60 * 60 * 24 * 30;
int defaultExpireSeconds = 60 * 60 * 24 * 365; //1 year

public DiskCache() {
this(1000);
Expand Down

0 comments on commit 7d9838f

Please sign in to comment.