New: Set busy timeout for SQLite

pull/6081/head
Bogdan 7 months ago committed by GitHub
parent ba447c93e3
commit 192eb7b62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,11 +44,12 @@ namespace NzbDrone.Core.Datastore
var connectionBuilder = new SQLiteConnectionStringBuilder
{
DataSource = dbPath,
CacheSize = (int)-10000,
CacheSize = (int)-20000,
DateTimeKind = DateTimeKind.Utc,
JournalMode = OsInfo.IsOsx ? SQLiteJournalModeEnum.Truncate : SQLiteJournalModeEnum.Wal,
Pooling = true,
Version = 3
Version = 3,
BusyTimeout = 100
};
if (OsInfo.IsOsx)

Loading…
Cancel
Save