aboutsummaryrefslogtreecommitdiff
path: root/plugins/ObjectCacheServer/src/Cache/CacheStore.cs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ObjectCacheServer/src/Cache/CacheStore.cs')
-rw-r--r--plugins/ObjectCacheServer/src/Cache/CacheStore.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/ObjectCacheServer/src/Cache/CacheStore.cs b/plugins/ObjectCacheServer/src/Cache/CacheStore.cs
index f94a3f5..5795222 100644
--- a/plugins/ObjectCacheServer/src/Cache/CacheStore.cs
+++ b/plugins/ObjectCacheServer/src/Cache/CacheStore.cs
@@ -107,11 +107,14 @@ Cache Configuration:
//Get the event listener
ICacheListenerEventQueue queue = plugin.GetOrCreateSingleton<CacheListenerPubQueue>();
+ //Get the memory manager
+ ICacheMemoryManagerFactory manager = plugin.GetOrCreateSingleton<BucketLocalManagerFactory>();
+
//Load the blob cache table system
- IBlobCacheTable bc = plugin.LoadMemoryCacheSystem(config, plugin.CacheHeap, cacheConf);
+ IBlobCacheTable bc = plugin.LoadMemoryCacheSystem(config, manager, cacheConf);
//Endpoint only allows for a single reader
- return new(bc, queue, plugin.Log, plugin.CacheHeap);
+ return new(bc, queue, plugin.Log, plugin.ListenerHeap);
}
/*