Skip to content

github: Don't record rate limit for 401 response

Administrator requested to merge ratelimit-401 into main

Created by: ryanslade

If we do, the next call we make can block for up to an hour since our rate limit monitor RecommendedWaitForBackgroundOp function believes we've just run out of tokens.

Instead, we ignore the rate limits returned and fail fast on subsequent steps.

Our background syncer already backs off on 401 errors.

Merge request reports

Loading