forked from ArmyCyberInstitute/cmgr
-
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.
Switch back to cgo-based SQLite driver
In our experience, the pure Go SQLite driver introduced in upstream cmgr v0.13.0 had issues handling a large number of concurrent requests (such as during major competitions). Operations would often fail due to SQLITE_BUSY errors. See also package issues [0][1][2][3][4][5]. Due to this issue, we had previously forced to roll back to upstream cmgr v0.12.0. By reverting back to the cgo-based driver, we can take advantage of the other fixes made since that release. [0]: https://gitlab.com/cznic/sqlite/-/issues/74 [1]: https://gitlab.com/cznic/sqlite/-/issues/115 [2]: https://gitlab.com/cznic/sqlite/-/issues/126 [3]: https://gitlab.com/cznic/sqlite/-/issues/142 [4]: https://gitlab.com/cznic/sqlite/-/issues/146 [5]: https://gitlab.com/cznic/sqlite/-/issues/161
- Loading branch information
Showing
4 changed files
with
35 additions
and
235 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
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
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
Oops, something went wrong.