diff options
author | vnugent <public@vaughnnugent.com> | 2024-03-10 15:50:07 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-03-10 15:50:07 -0400 |
commit | 323ff67badfc46ad638d75f059d60d9425ccb2fa (patch) | |
tree | 6f4d824eaea0f4c433f98c0685bf66c06b30e16a /plugins/ObjectCacheServer/src/ServerClusterConfig.cs | |
parent | 5d4192880654fd6e00e587814169415b42621327 (diff) |
ci(server): Conainerize and add vncache server packages
Diffstat (limited to 'plugins/ObjectCacheServer/src/ServerClusterConfig.cs')
-rw-r--r-- | plugins/ObjectCacheServer/src/ServerClusterConfig.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ObjectCacheServer/src/ServerClusterConfig.cs b/plugins/ObjectCacheServer/src/ServerClusterConfig.cs index 8f81ba6..8e098cd 100644 --- a/plugins/ObjectCacheServer/src/ServerClusterConfig.cs +++ b/plugins/ObjectCacheServer/src/ServerClusterConfig.cs @@ -45,7 +45,7 @@ namespace VNLib.Data.Caching.ObjectCache.Server public int MaxQueueDepth { get; } = (int)config.GetRequiredProperty("max_queue_depth", p => p.GetUInt32()); - public string? DiscoveryPath { get; } = config.GetValueOrDefault(CacheConfigTemplate, p => p.GetString(), null); + public string? DiscoveryPath { get; } = config.GetValueOrDefault("discovery_path", p => p.GetString(), null); public string ConnectPath { get; } = config.GetRequiredProperty("connect_path", p => p.GetString()!); @@ -63,7 +63,7 @@ namespace VNLib.Data.Caching.ObjectCache.Server /// The maxium number of concurrent client connections to allow /// before rejecting new connections /// </summary> - public uint MaxConcurrentConnections { get; } + public uint MaxConcurrentConnections { get; } = config.GetValueOrDefault("max_concurrent_connections", p => p.GetUInt32(), 100u); const string CacheConfigTemplate = @" |