Use published mcdsl v1.0.0, drop replace directive

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 12:24:00 -07:00
parent c67601c7f6
commit 885bf4bd56
4 changed files with 10 additions and 5 deletions

View File

@@ -59,6 +59,12 @@ func Open(path string) (*sql.DB, error) {
}
}
// SQLite supports concurrent readers but only one writer. With WAL mode,
// reads don't block writes, but multiple Go connections competing for
// the write lock causes SQLITE_BUSY under concurrent load. Limit to one
// connection to serialize all access and eliminate busy errors.
database.SetMaxOpenConns(1)
// Ensure permissions are correct even if the file already existed.
if err := os.Chmod(path, 0600); err != nil {
_ = database.Close()

3
vendor/modules.txt vendored
View File

@@ -1,4 +1,4 @@
# git.wntrmute.dev/kyle/mcdsl v0.0.0 => /home/kyle/src/metacircular/mcdsl
# git.wntrmute.dev/kyle/mcdsl v1.0.0
## explicit; go 1.25.7
git.wntrmute.dev/kyle/mcdsl/auth
git.wntrmute.dev/kyle/mcdsl/config
@@ -196,4 +196,3 @@ modernc.org/memory
modernc.org/sqlite
modernc.org/sqlite/lib
modernc.org/sqlite/vtab
# git.wntrmute.dev/kyle/mcdsl => /home/kyle/src/metacircular/mcdsl