Skip to content

Commit e297f6c

Browse files
authored
**Increased number of leaderboard records fetched in a single request from API** (commons-app#4697)
Fixes commons-app#4372 What changes did you make and why? Increased number of leaderboard records fetched in a single request from API **Tests performed (required)** Tested ProdDebug on Pixel 4 XL with API level 31.
1 parent f5200d5 commit e297f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/profile/leaderboard/LeaderboardConstants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class LeaderboardConstants {
88
/**
99
* This is the size of the page i.e. number items to load in a batch when pagination is performed
1010
*/
11-
public static final int PAGE_SIZE = 10;
11+
public static final int PAGE_SIZE = 100;
1212

1313
/**
1414
* This is the starting offset, we set it to 0 to start loading from rank 1

0 commit comments

Comments
 (0)