Skip to content

Commit da4f7b8

Browse files
committed
Remove 504 HTTP status code retry
1 parent 389e569 commit da4f7b8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## [Unreleased]
4+
### Removed
5+
- Retries of requests ended with `504` HTTP status code, since it's not clear if the request was delivered or not, by @HardNorth
46

57
## [5.5.7]
68
### Added

reportportal_client/_internal/aio/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
DEFAULT_RETRY_NUMBER: int = 5
3434
DEFAULT_RETRY_DELAY: float = 0.005
3535
THROTTLING_STATUSES: set = {425, 429}
36-
RETRY_STATUSES: set = {408, 500, 502, 503, 504, 507}.union(THROTTLING_STATUSES)
36+
RETRY_STATUSES: set = {408, 500, 502, 503, 507}.union(THROTTLING_STATUSES)
3737

3838

3939
class RetryClass(int, Enum):

0 commit comments

Comments
 (0)