tursodatabase / tursodatabase/libsql-client-ts
Remove database probe from `createClient()`
Open
Nobody has claimed this yet.
enhancement
good first issue
help wanted
- Dominant language
- TypeScript
- Stars
- 576
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
We probe if database can be opened with SQL in createClient() implementations, but it means that with remote databases, we add extra latency. This is problematic in particular if client is short-lived.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the createClient() implementations and the SQL database-open probe described in the issue. Confirm how the implementations behave for remote and short-lived clients; done means createClient() no longer adds that probe or its latency while the client creation behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite, typescript
- Domain
- database
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100