mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
db1c1ce21d
no issue - previously for SQLite tests we were pointing to a DB file within the content/data folder, which would be stored on the filesystem - by pointing this file to be under `/tmp`, the file is stored in memory and should be a lot quicker to access - this works great for me! - 2x faster test suite for SQLite - however, Windows doesn't have a `/tmp` folder so we need to rewrite that part to replace with `os.tmpdir()`
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"url": "http://127.0.0.1:2369",
|
|
"database": {
|
|
"client": "sqlite3",
|
|
"connection": {
|
|
"filename": "/tmp/ghost-test.db"
|
|
},
|
|
"useNullAsDefault": true,
|
|
"debug": false
|
|
},
|
|
"server": {
|
|
"port": 2369
|
|
},
|
|
"logging": {
|
|
"level": "fatal"
|
|
},
|
|
"spam": {
|
|
"user_login": {
|
|
"minWait": 600000,
|
|
"maxWait": 604800000,
|
|
"freeRetries": 3
|
|
},
|
|
"user_reset": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries": 4
|
|
},
|
|
"global_reset": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries":4
|
|
},
|
|
"global_block": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries":4
|
|
},
|
|
"private_block": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries":99
|
|
}
|
|
},
|
|
"privacy": {
|
|
"useTinfoil": true,
|
|
"useStructuredData": true
|
|
},
|
|
"useMinFiles": false
|
|
}
|