Skip to content

Change retry times to match sdk-requirements + retry-after #21

@MarketDataDev01

Description

@MarketDataDev01

sdk-py was built before the global sdk requirements specs so It contains inconsistencies with the new ones.
Update retry times to match docs:
attempt count is consider AFTER the first request fails

9.3 Backoff Strategy

Use exponential backoff:min(initial * 2^attempt, max_backoff)
Default initial: 1 second
Default max backoff: 30 seconds
Default max attempts: 3

Also implement

9.4 Retry-After Header
If response includes Retry-After header:

Respect the server-specified delay
Override calculated backoff with server value

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions