summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar steering72532026-08-01 20:35:36 -0600
committerGravatar steering72532026-08-01 20:35:36 -0600
commit91d1b39b6256e7827d8396afbb0b62f8d9e7a769 (patch)
tree61d8672b5b1efbb6227784afa47e83786ab6727e
parentadd uploads db (diff)
downloadhostfiles-91d1b39b6256e7827d8396afbb0b62f8d9e7a769.tar.gz
hostfiles-91d1b39b6256e7827d8396afbb0b62f8d9e7a769.tar.bz2
hostfiles-91d1b39b6256e7827d8396afbb0b62f8d9e7a769.zip
maybe fix db is locked?
-rw-r--r--.config.php.example1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config.php.example b/.config.php.example
index 7f2e5b3..68f6074 100644
--- a/.config.php.example
+++ b/.config.php.example
@@ -12,4 +12,5 @@ define('KNOWN_CIDRS', [
]);
$db = new SQLite3(UPLOAD_DIR . '/.uploads.db');
+$db->busyTimeout(5000);
$db->exec(file_get_contents(__DIR__ . '/startup.sql'));