mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-26 06:39:57 +00:00
Closes #2287 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added configurable timeout support for query executions. Users can now specify maximum wait times for queries, enhancing control over long-running operations across various integrations. - **Tests** - Expanded test coverage to validate timeout behavior in both synchronous and asynchronous query flows, ensuring timely error responses when query execution exceeds the specified limit. - Introduced a new test suite to verify query operations when a timeout is reached, checking for appropriate error handling. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
539 B
539 B
@lancedb/lancedb • Docs
@lancedb/lancedb / QueryExecutionOptions
Interface: QueryExecutionOptions
Options that control the behavior of a particular query execution
Properties
maxBatchLength?
optional maxBatchLength: number;
The maximum number of rows to return in a single batch
Batches may have fewer rows if the underlying data is stored in smaller chunks.
timeoutMs?
optional timeoutMs: number;
Timeout for query execution in milliseconds