update channel mapping

This commit is contained in:
Luke Pulverenti
2016-06-10 12:45:04 -04:00
parent b0c1ba1e19
commit 3ba9d3c12f
9 changed files with 30 additions and 14 deletions

View File

@@ -16,11 +16,11 @@ namespace MediaBrowser.ServerApplication.Native
_logger = logger;
}
public async Task<IDbConnection> Connect(string dbPath)
public async Task<IDbConnection> Connect(string dbPath, int? cacheSize = null)
{
try
{
return await SqliteExtensions.ConnectToDb(dbPath, _logger).ConfigureAwait(false);
return await SqliteExtensions.ConnectToDb(dbPath, cacheSize, _logger).ConfigureAwait(false);
}
catch (Exception ex)
{