diff options
-rw-r--r-- | db.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6,6 +6,7 @@ class Db { private function __construct() { $this->dbh = new SQLite3(__DIR__ . "/" . SCRATCH_DB); $this->dbh->busyTimeout(30*1000); + $this->dbh->exec('PRAGMA journal_mode = wal;'); } public static function get() { |