Update the "getRepositoriesByCountry"-endpoint to return up to 10_000 repositories.
This commit is contained in:
parent
9ad28a2640
commit
0f0163dc2d
|
@ -228,7 +228,7 @@ public class RepositoryServiceImpl implements RepositoryService {
|
||||||
Boolean managed) {
|
Boolean managed) {
|
||||||
logger.debug("Getting repositories by country!");
|
logger.debug("Getting repositories by country!");
|
||||||
int page = 0;
|
int page = 0;
|
||||||
int size = 100;
|
int size = 10_000; // Include all repositories. Some countries have more than a thousand.
|
||||||
|
|
||||||
String filterKey = "UNKNOWN";
|
String filterKey = "UNKNOWN";
|
||||||
if (mode.equalsIgnoreCase("repository"))
|
if (mode.equalsIgnoreCase("repository"))
|
||||||
|
|
Loading…
Reference in New Issue