Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch client DB to sqlite synchronization mode NORMAL
In a userbase of primarily gamers system instabilities aren't that uncommon. Without synchronization of the user-db this can lead to corruption of our client database storing the user-certificate. We have had various reports of such issues over time. The current mode was set in 2010 in commit 9fee66e to speed up the client-db "even more" though it is unclear whether we actually had performance problems that required this step. This patch switches the client synchronization mode from OFF to NORMAL which according to the sqlite documentation will leave a "very small" chance for database corruption but is than the default FULL sync mode. This commit should partially address issue mumble-voip#3254 by making database corruption much more unlikely but detecting corruption and/or handling DB backups are further possible approaches if this change turns out to have unacceptable performance or we get further reports of durability issues with the clientside DB.
- Loading branch information