Skip to content

Commit 0b7aef3

Browse files
authored
Merge pull request #88 from infosiftr/double-rate-limit
Double our Docker Hub rate limit
2 parents 342b4f6 + 016bee1 commit 0b7aef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry/rate-limits.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
var (
1111
registryRateLimiters = map[string]*rate.Limiter{
12-
dockerHubCanonical: rate.NewLimiter(100/rate.Limit((1*time.Minute).Seconds()), 100), // stick to at most 100/min in registry/Hub requests (and allow an immediate burst of 100)
12+
dockerHubCanonical: rate.NewLimiter(200/rate.Limit((1*time.Minute).Seconds()), 200), // stick to at most 200/min in registry/Hub requests (and allow an immediate burst of 200)
1313
}
1414
)
1515

0 commit comments

Comments
 (0)