Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sqlite_busytimeout parameter as user configurable param #121

Conversation

Sevenannn
Copy link
Contributor

@Sevenannn Sevenannn commented Sep 28, 2024

Add sqlite busy_timeout parameter as user configurable param, this allows for more flexibility when having multiple writes into the single sqlite instance, as sqlite has file level locking that only permits one write at a time. The busy_timeout configuration allows for the writes that are waiting to obtain lock to wait for the duration specified by busy_timeout before reporting error RuSqlite: Database is locked

@phillipleblanc phillipleblanc merged commit 857577d into datafusion-contrib:spiceai Sep 30, 2024
3 checks passed
hozan23 pushed a commit to hozan23/datafusion-table-providers that referenced this pull request Oct 11, 2024
…on-contrib#121)

* Add sqlite_busytimeout parameter as user configurable param

* Remove debug log

* Fix lint, fix integration test

---------

Co-authored-by: Phillip LeBlanc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants