[Pkg-mozext-commits] [greasemonkey] 36/45: Define a lower wal_autocheckpoint for script value DBs.

David Prévot taffit at moszumanska.debian.org
Mon Nov 3 20:59:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository greasemonkey.

commit 0d3daa614a2ea30fa841dc39855cf0a4f4d3ae21
Author: Anthony Lieuallen <arantius at gmail.com>
Date:   Thu Oct 16 10:13:36 2014 -0400

    Define a lower wal_autocheckpoint for script value DBs.
    
    Per comment by @VisualKei on #1879.
    
    Fixes #2036
---
 modules/miscapis.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/miscapis.js b/modules/miscapis.js
index dcaf02a..5cf4009 100644
--- a/modules/miscapis.js
+++ b/modules/miscapis.js
@@ -39,6 +39,7 @@ function GM_ScriptStorage_getDb() {
     this._db.executeSimpleSQL('PRAGMA auto_vacuum = INCREMENTAL;');
     this._db.executeSimpleSQL('PRAGMA incremental_vacuum(10);');
     this._db.executeSimpleSQL('PRAGMA journal_mode = WAL;');
+    this._db.executeSimpleSQL('PRAGMA wal_autocheckpoint = 10;');
 
     this._db.executeSimpleSQL(
         'CREATE TABLE IF NOT EXISTS scriptvals ('

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git



More information about the Pkg-mozext-commits mailing list