From 94060bfa5f58b3715c38b36b5c110061ca12bea4 Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Sat, 15 Feb 2025 10:53:15 +0100
Subject: Add busy timeout to purge script.

---
 tools/purge.sql | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'tools/purge.sql')

diff --git a/tools/purge.sql b/tools/purge.sql
index add6e2d..8249f01 100644
--- a/tools/purge.sql
+++ b/tools/purge.sql
@@ -1,5 +1,7 @@
 -- Prune game snapshot and game state data to save database space.
 
+pragma busy_timeout=10000;
+
 attach database 'db' as live;
 
 create temporary view prune_snap_list as
-- 
cgit v1.2.3

