mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
updated connection string params
This commit is contained in:
parent
a85099f060
commit
0e7ca07e02
@ -55,6 +55,8 @@ private string GetConnectionString(string dbPath)
|
|||||||
connectionBuilder.DataSource = dbPath;
|
connectionBuilder.DataSource = dbPath;
|
||||||
connectionBuilder.CacheSize = (int)-10.Megabytes();
|
connectionBuilder.CacheSize = (int)-10.Megabytes();
|
||||||
connectionBuilder.DateTimeKind = DateTimeKind.Utc;
|
connectionBuilder.DateTimeKind = DateTimeKind.Utc;
|
||||||
|
connectionBuilder.JournalMode = SQLiteJournalModeEnum.Wal;
|
||||||
|
connectionBuilder.Pooling = true;
|
||||||
|
|
||||||
return connectionBuilder.ConnectionString;
|
return connectionBuilder.ConnectionString;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user