mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
Update constant sqlite to keep wal for yunohost environment (see issue #97)
This commit is contained in:
parent
2f5c1eb977
commit
604c055deb
1 changed files with 10 additions and 0 deletions
|
@ -53,3 +53,13 @@ const WWW_URI = '__PATH__/';
|
|||
|
||||
const ENABLE_UPGRADES = false;
|
||||
|
||||
/**
|
||||
* Since 1.2.4, I downgraded the default SQLite journal mode to TRUNCATE instead of WAL because
|
||||
* it might have been a cause of corruption on some hosting providers using NFS.
|
||||
*
|
||||
* I don't think that Yunohost can use NFS, so you should set it back to WAL
|
||||
* by adding the following line to config.local.php when installing:
|
||||
*/
|
||||
|
||||
const SQLITE_JOURNAL_MODE = 'WAL';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue