aboutsummaryrefslogtreecommitdiffstats
path: root/webstats/readme.org
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-02-09 22:33:40 +0100
committerOscar Najera <hi@oscarnajera.com>2025-02-09 22:34:06 +0100
commit7b90ec0b14a0114f055a26e2f29f92a3f771c87e (patch)
tree30126492a87b4f4411a73f98a674ec92e244fa7c /webstats/readme.org
parentd8711c197de79cb74e2de2c18bb23baeef3387fb (diff)
downloadscratch-7b90ec0b14a0114f055a26e2f29f92a3f771c87e.tar.gz
scratch-7b90ec0b14a0114f055a26e2f29f92a3f771c87e.tar.bz2
scratch-7b90ec0b14a0114f055a26e2f29f92a3f771c87e.zip
One global sqlite connection instead of per request
Diffstat (limited to 'webstats/readme.org')
-rw-r--r--webstats/readme.org5
1 files changed, 5 insertions, 0 deletions
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