From 0bc672fe6c263b9894af0cd211d006054215c7a9 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Wed, 19 Nov 2025 23:33:19 +0100 Subject: Installs SQLite busy handler --- salis.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'salis.py') diff --git a/salis.py b/salis.py index 15e2351..a3281b5 100755 --- a/salis.py +++ b/salis.py @@ -245,8 +245,9 @@ if args.command in ["load", "new"]: auto_save_name_len = f"{len(sim_path) + 20}" if args.data_push_pow != 0: - data_push_path = f"{sim_dir}/{args.name}.sqlite3" - data_push_interval = ul_pow(args.data_push_pow) + data_push_path = f"{sim_dir}/{args.name}.sqlite3" + data_push_interval = ul_pow(args.data_push_pow) + data_push_busy_timeout = 600000 includes.append("sqlite3.h") log("Data will be aggregated at:", data_push_path) else: -- cgit v1.2.1