diff options
| author | unwox <me@unwox.com> | 2025-01-29 23:12:10 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-01-29 23:18:00 +0600 |
| commit | 1eb0d60cad414b0cafe1c38b3a0b7823c0c8fb28 (patch) | |
| tree | a1ec3afc4ff91544b3e2722f53de5a084a04dbcb /bin/serve.fnl | |
| parent | 4e4880fd6631f46138fabee5e20ddc22c84ac6bd (diff) | |
do not lock writes to db while running "./run.sh fetch"
Diffstat (limited to 'bin/serve.fnl')
| -rw-r--r-- | bin/serve.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl index 7385b53..927bd71 100644 --- a/bin/serve.fnl +++ b/bin/serve.fnl @@ -36,7 +36,7 @@ (tset package :loaded module old)))))) (local db - (must (luna.db.open "file:var/db.sqlite?_journal=WAL&_sync=NORMAL"))) + (must (luna.db.open "file:var/db.sqlite?_journal=WAL&_sync=NORMAL&_txlock=immediate"))) (local query-synonyms { "шэн" "шен" |
