Vacuum databases at startup

This commit is contained in:
ferferga 2019-06-10 11:31:38 +02:00
parent d5fe82314e
commit b136f14084

View file

@ -203,6 +203,7 @@ namespace Emby.Server.Implementations.Data
{ {
var queries = new List<string> var queries = new List<string>
{ {
"VACUUM",
"PRAGMA journal_mode=WAL", "PRAGMA journal_mode=WAL",
"PRAGMA page_size=4096", "PRAGMA page_size=4096",
"PRAGMA synchronous=Normal" "PRAGMA synchronous=Normal"