From 7b90ec0b14a0114f055a26e2f29f92a3f771c87e Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sun, 9 Feb 2025 22:33:40 +0100 Subject: One global sqlite connection instead of per request --- webstats/readme.org | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'webstats/readme.org') diff --git a/webstats/readme.org b/webstats/readme.org index a720673..9c85733 100644 --- a/webstats/readme.org +++ b/webstats/readme.org @@ -1,5 +1,10 @@ #+title: Track website visit statistics +* change SQLite database to WAL mode +This is a property of the database not the connection. +#+begin_src bash +sqlite3 test.db 'PRAGMA journal_mode=WAL;' +#+end_src * Setup lighttpd On the config file append the proxy to the running lisp server #+begin_src conf -- cgit v1.2.3