Add comment for rate limiting handling

Added a comment regarding rate limiting and retry behavior.
This commit is contained in:
Ryan Ghadimi authored and GitHub committed 2026-01-16 10:26:45 +00:00
1 parent 84637c3cc0
commit 1f51e29c64
1 file changed
+1
+1
View File
@@ -111,6 +111,7 @@ class CacheServiceClient implements Rpc {
}
// Handle rate limiting - don't retry, just warn and exit
// For more info, see https://docs.github.com/en/actions/reference/limits
if (statusCode === HttpCodes.TooManyRequests) {
const retryAfterHeader = response.message.headers['retry-after']
if (retryAfterHeader) {