aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-13 15:32:10 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-13 15:32:10 -0400
commit8e7b6f6bcabdec041c68dbf2311dc9c210fdef0d (patch)
tree2afd47dc9bb8833b1c17ecf1c04634df1c5e7ce5 /Emby.Server.Implementations/Data/BaseSqliteRepository.cs
parent0beb803aed85378fc4b945e1b2c9e34968a7e39f (diff)
update db CacheSize
Diffstat (limited to 'Emby.Server.Implementations/Data/BaseSqliteRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/BaseSqliteRepository.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
index 64a0d889e..462ff3e47 100644
--- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
+++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
@@ -124,7 +124,7 @@ namespace Emby.Server.Implementations.Data
if (CacheSize.HasValue)
{
- queries.Add("PRAGMA cache_size=-" + CacheSize.Value.ToString(CultureInfo.InvariantCulture));
+ queries.Add("PRAGMA cache_size=" + CacheSize.Value.ToString(CultureInfo.InvariantCulture));
}
if (EnableTempStoreMemory)
@@ -132,12 +132,6 @@ namespace Emby.Server.Implementations.Data
queries.Add("PRAGMA temp_store = memory");
}
- //var cacheSize = CacheSize;
- //if (cacheSize.HasValue)
- //{
-
- //}
-
////foreach (var query in queries)
////{
//// db.Execute(query);