diff options
| author | 2026-08-01 20:35:36 -0600 | |
|---|---|---|
| committer | 2026-08-01 20:35:36 -0600 | |
| commit | 91d1b39b6256e7827d8396afbb0b62f8d9e7a769 (patch) | |
| tree | 61d8672b5b1efbb6227784afa47e83786ab6727e | |
| parent | add uploads db (diff) | |
| download | hostfiles-91d1b39b6256e7827d8396afbb0b62f8d9e7a769.tar.gz hostfiles-91d1b39b6256e7827d8396afbb0b62f8d9e7a769.tar.bz2 hostfiles-91d1b39b6256e7827d8396afbb0b62f8d9e7a769.zip | |
maybe fix db is locked?
| -rw-r--r-- | .config.php.example | 1 |
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')); |
