@lancedb/lancedb • Docs
@lancedb/lancedb / FunctionRetryPolicy
Interface: FunctionRetryPolicy¶
Overrides retries of failed user-code calls for one refresh. Omitted fields use the Function refresh defaults.
Properties¶
errorCodes?¶
Structured provider error codes or HTTP status codes.
exceptionTypes?¶
Exception class names, preferably qualified.
honorRetryAfter?¶
Honor Retry-After within the configured maximum.
initialBackoffSeconds?¶
Initial exponential-backoff ceiling, in seconds.
maxAttempts?¶
Total calls, including the first; 1 disables retries, maximum 100.
maxBackoffSeconds?¶
Maximum backoff, in seconds.
messagePattern?¶
Regular expression matched against the exception class and message.
transient?¶
Match connection/timeouts, HTTP 429/503, SlowDown and ServiceUnavailable.