Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only retry if it's safe, even on GOAWAY #725

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

midgleyc
Copy link
Member

Initially, I thought GOAWAY meant that the request wasn't handled at all, but someone on Discord reported accidentally hitting the Chateau twice after the HTTP2 move. While I can't be sure this is GOAWAY, it's safer to only retry if it's safe to do so.

@midgleyc midgleyc requested a review from a team as a code owner April 22, 2022 17:59
@codecov
Copy link

codecov bot commented Apr 22, 2022

Codecov Report

Merging #725 (b4b13f1) into main (51062a4) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #725   +/-   ##
=========================================
  Coverage     23.23%   23.23%           
  Complexity    10274    10274           
=========================================
  Files          1010     1010           
  Lines        158005   158005           
  Branches      34935    34935           
=========================================
  Hits          36714    36714           
  Misses       114702   114702           
  Partials       6589     6589           
Impacted Files Coverage Δ
...t/sourceforge/kolmafia/request/GenericRequest.java 21.58% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51062a4...b4b13f1. Read the comment docs.

@midgleyc midgleyc merged commit 23eaf9c into kolmafia:main Apr 22, 2022
@midgleyc midgleyc deleted the retry-only-if-should branch April 22, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants