feat: make timeout configurable for vectordb node SDK (#1443)

This commit is contained in:
Bert
2024-07-15 12:53:13 -03:00
committed by GitHub
parent 92c93b08bf
commit 1f4a051070
3 changed files with 22 additions and 5 deletions

View File

@@ -72,6 +72,7 @@ export class RemoteConnection implements Connection {
this._client = new HttpLancedbClient(
server,
opts.apiKey,
opts.timeout,
opts.hostOverride === undefined ? undefined : this._dbName
)
}