diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-06-10 13:36:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-10 13:36:45 -0400 |
| commit | 80863516c3e8a1ac58324aac8533f37b428afab7 (patch) | |
| tree | f77aef60d5651bec5269fb0e00edff134d2689fc /MediaBrowser.ServerApplication/Native/DbConnector.cs | |
| parent | a9355f7be96b649e0bb337e95a6491cc01ed5949 (diff) | |
| parent | 682edf5abde127b59b3303dabc6445d975ef60d3 (diff) | |
Merge pull request #1834 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.ServerApplication/Native/DbConnector.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/Native/DbConnector.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.ServerApplication/Native/DbConnector.cs b/MediaBrowser.ServerApplication/Native/DbConnector.cs index 48ba7d0e7..6001ac3c0 100644 --- a/MediaBrowser.ServerApplication/Native/DbConnector.cs +++ b/MediaBrowser.ServerApplication/Native/DbConnector.cs @@ -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) { |
