We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74cda31 commit 4b6d77eCopy full SHA for 4b6d77e
lib/bitbucket_rest_api/request.rb
@@ -34,7 +34,7 @@ def retry_token_refresh_errors
34
yield
35
rescue BitBucket::Error::RefreshToken
36
count += 1
37
- if count < 3
+ if count <= 3
38
sleep 0.3 * count
39
retry
40
end
0 commit comments