1
0
Fork 0
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:
Robles Rodolphe 2023-01-08 15:39:27 +01:00 committed by GitHub
parent 2f5c1eb977
commit 604c055deb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,3 +53,13 @@ const WWW_URI = '__PATH__/';
const ENABLE_UPGRADES = false; 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';