aboutsummaryrefslogtreecommitdiff
path: root/ci/config/SessionProvider.json
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-09-15 12:09:17 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-09-15 12:09:17 -0400
commit5dfe3dc0db51624082d20a31767c5a6aa774749d (patch)
tree6d0aefa1be0d94e86711bcc2b51b897281412ddb /ci/config/SessionProvider.json
parentf2781825804039b5ca68466bec7054b8d9ccce5d (diff)
ci pipeline for complete builds
Diffstat (limited to 'ci/config/SessionProvider.json')
-rw-r--r--ci/config/SessionProvider.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/ci/config/SessionProvider.json b/ci/config/SessionProvider.json
new file mode 100644
index 0000000..1875e73
--- /dev/null
+++ b/ci/config/SessionProvider.json
@@ -0,0 +1,42 @@
+{
+
+ "debug": false,
+
+ //Provider assemblies to load
+ "provider_assemblies": [ "VNLib.Plugins.Sessions.VNCache.dll" ],
+
+ //Web session provider, valid format for VNCache and also memory sessions
+ "web": {
+ //Cache system key prefix
+ "cache_prefix": "websessions",
+ //The session cookie name
+ "cookie_name": "VNSession",
+ //Size in bytes for generated session ids
+ "cookie_size": 40,
+ //time (in seconds) a session is valid for
+ "valid_for_sec": 3600,
+ //The maxium number of connections waiting for the cache server responses
+ "max_waiting_connections": 100
+ },
+
+ //Enable vncache as the providers above rely on the object caching server
+ "vncache": {
+
+ //Max size (in bytes) of allowed data to be stored in each user's session object
+ "max_object_size": 8128,
+
+ //Initial nodes to discover from
+ "initial_nodes": [],
+
+ //Setting this value to true will cause the cache store to load a memory-only instance, without remote backing
+ "memory_only": true,
+
+ //enable memory cache
+ "memory_cache": {
+ "buckets": 20,
+ "bucket_size": 5000,
+ "max_age_sec": 600,
+ "refresh_interval_sec": 60
+ }
+ }
+} \ No newline at end of file