From 1eb0d60cad414b0cafe1c38b3a0b7823c0c8fb28 Mon Sep 17 00:00:00 2001 From: unwox Date: Wed, 29 Jan 2025 23:12:10 +0600 Subject: do not lock writes to db while running "./run.sh fetch" --- bin/serve.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/serve.fnl') 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 { "шэн" "шен" -- cgit v1.2.3