mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-23 18:44:45 +01:00
update recording format
This commit is contained in:
@@ -26,6 +26,8 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
||||
throw new ArgumentNullException("dbPath");
|
||||
}
|
||||
|
||||
SQLiteConnection.SetMemoryStatus(false);
|
||||
|
||||
var connectionstr = new SQLiteConnectionStringBuilder
|
||||
{
|
||||
PageSize = 4096,
|
||||
@@ -41,8 +43,10 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
||||
|
||||
var connectionString = connectionstr.ConnectionString;
|
||||
|
||||
//logger.Info("Sqlite {0} opening {1}", SQLiteConnection.SQLiteVersion, connectionString);
|
||||
SQLiteConnection.SetMemoryStatus(false);
|
||||
if (!enablePooling)
|
||||
{
|
||||
logger.Info("Sqlite {0} opening {1}", SQLiteConnection.SQLiteVersion, connectionString);
|
||||
}
|
||||
|
||||
var connection = new SQLiteConnection(connectionString);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user