update db cache size

This commit is contained in:
Luke Pulverenti 2016-03-24 15:45:24 -04:00
parent b095d9fd38
commit 7aa85fc8dd
2 changed files with 3 additions and 3 deletions

View File

@ -141,8 +141,8 @@ namespace MediaBrowser.Server.Implementations.Persistence
var connectionstr = new SQLiteConnectionStringBuilder
{
PageSize = 4096,
CacheSize = 4096,
SyncMode = SynchronizationModes.Normal,
CacheSize = 2000,
SyncMode = SynchronizationModes.Full,
DataSource = dbPath,
JournalMode = SQLiteJournalModeEnum.Wal
};

View File

@ -79,7 +79,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
private IDbCommand _updateInheritedRatingCommand;
private const int LatestSchemaVersion = 48;
private const int LatestSchemaVersion = 49;
/// <summary>
/// Initializes a new instance of the <see cref="SqliteItemRepository"/> class.