change the ReviewHelper for api called

This commit is contained in:
24-S2-2-C-Interactive 2024-10-27 19:48:11 +11:00
parent 7ffa271d43
commit 36dcc43f41
2 changed files with 1 additions and 3 deletions

View file

@ -69,7 +69,7 @@ public class ReviewActivity extends BaseActivity {
// Key for storing the timestamp of last cache update
private static final String LAST_CACHE_TIME_KEY = "lastCacheTime";
// Maximum number of media files to store in cache
private static final int CACHE_SIZE = 50;
private static final int CACHE_SIZE = 5;
// Cache expiration time in milliseconds (24 hours)
private static final long CACHE_EXPIRY_TIME = 24 * 60 * 60 * 1000;

View file

@ -133,8 +133,6 @@ class ReviewHelper
/**
* Batch checks whether multiple files are being used in any wiki pages.
* This method processes a list of filenames in parallel using RxJava Observables.