diff --git a/config.example.js b/config.example.js index d6813db492..f1a408e9a3 100644 --- a/config.example.js +++ b/config.example.js @@ -83,6 +83,14 @@ config = { client: 'sqlite3', connection: { filename: path.join(__dirname, '/content/data/ghost-test.db') + }, + pool: { + afterCreate: function (conn, done) { + conn.run('PRAGMA synchronous=OFF;' + + 'PRAGMA journal_mode=MEMORY;' + + 'PRAGMA locking_mode=EXCLUSIVE;' + + 'BEGIN EXCLUSIVE; COMMIT;', done); + } } }, server: {