Skip to content

Commit 3106fec

Browse files
authored
Try improving renovate issues with Maven Central rate limiting (#7667)
* Try improving renovate issues with Maven Central rate limiting Try not to make too many concurrent requests to Maven Central The logs display rate limit responses followed by OK responses, which could mean we're hammering the Maven Central repo with too many concurrent requests * Try not hitting Maven Central for `androidx` packages
1 parent 875ff98 commit 3106fec

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/renovate.json5

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,21 @@
1010
"gradle",
1111
],
1212
"minimumReleaseAge": "7 days",
13+
"hostRules": [
14+
{
15+
"matchHost": "https://repo1.maven.org/maven2/",
16+
"concurrentRequestLimit": 4,
17+
"maxRequestsPerSecond": 4,
18+
}
19+
],
1320
"packageRules": [
21+
{
22+
"matchPackageNames": [
23+
"/^androidx.\.*/"
24+
],
25+
"groupName": "androidx",
26+
"registryUrls": [ "https://dl.google.com/android/maven2/" ],
27+
},
1428
{
1529
"matchPackageNames": [
1630
"org.matrix.rustcomponents:sdk-android",

0 commit comments

Comments
 (0)