Update the "getRepositoriesByCountry"-endpoint to return up to 10_000 repositories.

This commit is contained in:
Lampros Smyrnaios 2023-02-15 17:14:02 +02:00
parent 9ad28a2640
commit 0f0163dc2d
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ public class RepositoryServiceImpl implements RepositoryService {
Boolean managed) {
logger.debug("Getting repositories by country!");
int page = 0;
int size = 100;
int size = 10_000; // Include all repositories. Some countries have more than a thousand.
String filterKey = "UNKNOWN";
if (mode.equalsIgnoreCase("repository"))