mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-23 14:10:40 +02:00
Vacuum databases at startup
This commit is contained in:
parent
d5fe82314e
commit
b136f14084
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue