Skip to content

Commit

Permalink
change the ReviewHelper for api called
Browse files Browse the repository at this point in the history
  • Loading branch information
Bei-Jin-lab committed Oct 27, 2024
1 parent 7ffa271 commit 36dcc43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/fr/free/nrw/commons/review/ReviewHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 36dcc43

Please sign in to comment.