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 var connectionstr = new SQLiteConnectionStringBuilder
{ {
PageSize = 4096, PageSize = 4096,
CacheSize = 4096, CacheSize = 2000,
SyncMode = SynchronizationModes.Normal, SyncMode = SynchronizationModes.Full,
DataSource = dbPath, DataSource = dbPath,
JournalMode = SQLiteJournalModeEnum.Wal JournalMode = SQLiteJournalModeEnum.Wal
}; };

View File

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