Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

client: Add retry logic on Pubsub 429 error during connect (backport #19990)#20002

Merged
mergify[bot] merged 2 commits intov1.7from
mergify/bp/v1.7/pr-19990
Sep 20, 2021
Merged

client: Add retry logic on Pubsub 429 error during connect (backport #19990)#20002
mergify[bot] merged 2 commits intov1.7from
mergify/bp/v1.7/pr-19990

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Sep 18, 2021

This is an automatic backport of pull request #19990 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

@mergify mergify Bot added the automerge Merge this Pull Request automatically once CI passes label Sep 18, 2021
@mergify mergify Bot removed the automerge Merge this Pull Request automatically once CI passes label Sep 18, 2021
@mergify
Copy link
Copy Markdown
Contributor Author

mergify Bot commented Sep 18, 2021

automerge label removed due to a CI failure

@mergify mergify Bot added the automerge Merge this Pull Request automatically once CI passes label Sep 20, 2021
@joncinque
Copy link
Copy Markdown
Contributor

The older version of tungstenite used by 1.7 doesn't give the full response on error, just the status code. To adapt to that limitation, this version will just check the status code and do a normal exponential backoff of .5s * 2 ^ retries

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 20, 2021

Codecov Report

Merging #20002 (d8fd760) into v1.7 (d0143da) will decrease coverage by 0.0%.
The diff coverage is 0.0%.

@@            Coverage Diff            @@
##             v1.7   #20002     +/-   ##
=========================================
- Coverage    82.2%    82.2%   -0.1%     
=========================================
  Files         439      439             
  Lines      124912   124924     +12     
=========================================
- Hits       102751   102739     -12     
- Misses      22161    22185     +24     

@mergify mergify Bot merged commit 6b24dd1 into v1.7 Sep 20, 2021
@mergify mergify Bot deleted the mergify/bp/v1.7/pr-19990 branch September 20, 2021 12:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant