forked from clojars/clojars-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialize writes to the db to prevent sqlite concurrency failures [cl…
…ojars#307] This forces all updates/inserts to the db to go through a single-threaded executor, which prevents concurrent db access and the resulting lock exceptions. This is hopefully a stopgap measure until we get rid of sqlite entirely.
- Loading branch information
Showing
1 changed file
with
59 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters