Skip to content

Commit 6236a80

Browse files
committed
review: remove intelligent from description
1 parent 6f27674 commit 6236a80

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Added
66
- feat: RFC 9110 compliant Retry-After header support with exponential backoff and jitter
7-
- feat: Enhanced retry strategy with intelligent delay calculation
7+
- feat: Enhanced retry strategy with delay calculation
88
- feat: Retry-After header value exposed in error objects for better observability
99

1010
### Changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ libraryDependencies += "dev.openfga" % "openfga-sdk" % "0.8.3"
125125

126126
We strongly recommend you initialize the `OpenFgaClient` only once and then re-use it throughout your app, otherwise you will incur the cost of having to re-initialize multiple times or at every request, the cost of reduced connection pooling and re-use, and would be particularly costly in the client credentials flow, as that flow will be preformed on every request.
127127

128-
> The `Client` will by default retry API requests up to 3 times. Rate limiting (429) errors are always retried. Server errors (5xx) are retried for all operations, with intelligent delay calculation using `Retry-After` headers when provided or exponential backoff as fallback.
128+
> The `Client` will by default retry API requests up to 3 times. Rate limiting (429) errors are always retried. Server errors (5xx) are retried for all operations, with delay calculation using `Retry-After` headers when provided or exponential backoff as fallback.
129129
130130
#### No Credentials
131131

@@ -714,7 +714,7 @@ response.getResult() = [{
714714
715715
If you are using an OpenFGA version less than 1.8.0, you can use `clientBatchCheck`,
716716
which calls `check` in parallel. It will return `allowed: false` if it encounters an error, and will return the error in the body.
717-
If 429s are encountered, the underlying check will retry up to 3 times. For 5xx errors, all requests will retry with intelligent delay calculation using `Retry-After` headers when provided or exponential backoff as fallback.
717+
If 429s are encountered, the underlying check will retry up to 3 times. For 5xx errors, all requests will retry with delay calculation using `Retry-After` headers when provided or exponential backoff as fallback.
718718
719719
```
720720
var request = List.of(
@@ -965,14 +965,14 @@ fgaClient.writeAssertions(assertions, options).get();
965965
966966
### Retries
967967
968-
The SDK implements RFC 9110 compliant retry behavior with support for the `Retry-After` header. By default, the SDK will automatically retry failed requests up to **3 times** with intelligent delay calculation (maximum allowable: 15 retries).
968+
The SDK implements RFC 9110 compliant retry behavior with support for the `Retry-After` header. By default, the SDK will automatically retry failed requests up to **3 times** with delay calculation (maximum allowable: 15 retries).
969969
970970
#### Retry Behavior
971971
972972
**Rate Limiting (429 errors):** Always retried regardless of HTTP method.
973973
974974
**Server Errors (5xx):** All requests are retried on 5xx errors (except 501 Not Implemented) regardless of HTTP method:
975-
- **All operations** (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS): Always retried on 5xx errors with intelligent delay calculation
975+
- **All operations** (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS): Always retried on 5xx errors with delay calculation
976976
977977
#### Delay Calculation
978978

0 commit comments

Comments
 (0)