aboutsummaryrefslogtreecommitdiff
path: root/plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-03-09 01:48:38 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-03-09 01:48:38 -0500
commitcd1daadaeaa6ffbaaef3ed25452decd90d01fdfc (patch)
tree51252a42ccf3f6eb860e42d83f064a7247d7ebf7 /plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs
parent5edcd9b03532823c71fd337e39b7f03fe2ea174e (diff)
Omega cache, session, and account provider complete overhaul
Diffstat (limited to 'plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs')
-rw-r--r--plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs b/plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs
index e9584b6..f7adeb3 100644
--- a/plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs
+++ b/plugins/ObjectCacheServer/src/Endpoints/CacheConfiguration.cs
@@ -1,11 +1,11 @@
/*
-* Copyright (c) 2022 Vaughn Nugent
+* Copyright (c) 2023 Vaughn Nugent
*
* Library: VNLib
* Package: ObjectCacheServer
-* File: ConnectEndpoint.cs
+* File: CacheConfiguration.cs
*
-* ConnectEndpoint.cs is part of ObjectCacheServer which is part of the larger
+* CacheConfiguration.cs is part of ObjectCacheServer which is part of the larger
* VNLib collection of libraries and utilities.
*
* ObjectCacheServer is free software: you can redistribute it and/or modify
@@ -49,6 +49,9 @@ namespace VNLib.Data.Caching.ObjectCache.Server
[JsonPropertyName("max_cache")]
- public int MaxCacheEntries { get; set; } = 10000;
+ public uint MaxCacheEntries { get; set; } = 10000;
+
+ [JsonPropertyName("buckets")]
+ public uint BucketCount { get; set; } = 10;
}
}