From 921947692a38d80e5cacaaca6b1ca01f920b28d5 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..3e3bfc6 100644
--- a/tools/purge.sql
+++ b/tools/purge.sql
@@ -2,6 +2,8 @@
 
 attach database 'db' as live;
 
+pragma live.busy_timeout=10000;
+
 create temporary view prune_snap_list as
 	select
 		distinct game_id
-- 
cgit v1.2.3

