update db cache size
This commit is contained in:
parent
b095d9fd38
commit
7aa85fc8dd
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user