Skip to content

Commit

Permalink
Merge pull request Kuadrant#423 from pehala/timed_out
Browse files Browse the repository at this point in the history
Add timed out to backoff errors
  • Loading branch information
jsmolar authored Jun 3, 2024
2 parents e73869a + d035957 commit 9e6d5bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testsuite/httpx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def should_backoff(self):
self.has_dns_error()
or (self.error is None and self.status_code in self.retry_codes)
or self.has_error("Server disconnected without sending a response.")
or self.has_error("timed out")
)

def has_error(self, error_msg: str) -> bool:
Expand Down

0 comments on commit 9e6d5bd

Please sign in to comment.