-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tell RobustHTTPClient to treat rate-limiting as non-retryable error (#…
…439) This is a simplest possible approach to pass through hitting a rate limit to the application that uses the default XRPC client. It's a design question if this is what you want to have. Alternatives include: * Gate this behaviour change behind a flag in `xrpc.Client` struct * Allowing to specify a threshold for the duration until rate limit reset, below which the client would keep the current behaviour FWIW, JS client seems to not have any retry logic in place.
- Loading branch information
Showing
2 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters