JetBrains / JetBrains/Exposed

How do I perform async transactions on a sqlite database without locking issues?

Open
#982 2 comments 1 reaction 0 assignees View on GitHub
sqlite
Dominant language
Kotlin
Stars
9.3k
Forks
798
Avg merge
4d 2h
Merged PRs (30d)
26

Description

At the moment I keep getting: `org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)` while trying to perform transactions async to the sqlite database. How can I prevent this from happening? I've tried a couple of things but without success. If someone could push me in the right direction I would really appreciate that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.