diff --git a/docs/src/js/interfaces/RetryConfig.md b/docs/src/js/interfaces/RetryConfig.md index a9e4e6046..4f9336b66 100644 --- a/docs/src/js/interfaces/RetryConfig.md +++ b/docs/src/js/interfaces/RetryConfig.md @@ -84,7 +84,7 @@ optional statuses: number[]; ``` The HTTP status codes for which to retry the request. Default is -[429, 500, 502, 503]. +[409, 429, 500, 502, 503, 504]. You can also set this via the environment variable `LANCE_CLIENT_RETRY_STATUSES`. Use a comma-separated list of integers. diff --git a/nodejs/src/remote.rs b/nodejs/src/remote.rs index c776ea597..2a6985477 100644 --- a/nodejs/src/remote.rs +++ b/nodejs/src/remote.rs @@ -69,7 +69,7 @@ pub struct RetryConfig { /// `LANCE_CLIENT_RETRY_BACKOFF_JITTER`. pub backoff_jitter: Option, /// The HTTP status codes for which to retry the request. Default is - /// [429, 500, 502, 503]. + /// [409, 429, 500, 502, 503, 504]. /// /// You can also set this via the environment variable /// `LANCE_CLIENT_RETRY_STATUSES`. Use a comma-separated list of integers. diff --git a/python/python/lancedb/remote/__init__.py b/python/python/lancedb/remote/__init__.py index bb9a32122..15015a8e0 100644 --- a/python/python/lancedb/remote/__init__.py +++ b/python/python/lancedb/remote/__init__.py @@ -124,7 +124,7 @@ class RetryConfig: `LANCE_CLIENT_RETRY_BACKOFF_JITTER`. statuses: Optional[List[int] The HTTP status codes for which to retry the request. Default is - [429, 500, 502, 503]. + [409, 429, 500, 502, 503, 504]. You can also set this via the environment variable `LANCE_CLIENT_RETRY_STATUSES`. Use a comma-separated list of integers.