diff options
author | 2024-01-08 16:04:02 +0100 | |
---|---|---|
committer | 2024-01-08 16:04:02 +0100 | |
commit | 40cbf9be39f507e69e4a0b31b8f6ee5347a3c1a9 (patch) | |
tree | a09a003964707189b93f0b72a012893f7e189aa6 /kubernetes/aai/components/aai-resources/resources/config/janusgraph-realtime.properties | |
parent | 6aa05ae0c69a6b22d3c4de6cf50e45bc0c9742d9 (diff) |
[AAI] Make janusgraph caching configurable
- add optional config block to janusgraph-realtime.properties
Issue-ID: AAI-3721
Change-Id: Ifc19c5e3c134289092150d3c95f95ab6a2f20b82
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'kubernetes/aai/components/aai-resources/resources/config/janusgraph-realtime.properties')
-rw-r--r-- | kubernetes/aai/components/aai-resources/resources/config/janusgraph-realtime.properties | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/kubernetes/aai/components/aai-resources/resources/config/janusgraph-realtime.properties b/kubernetes/aai/components/aai-resources/resources/config/janusgraph-realtime.properties index 836dc7b176..4835560665 100644 --- a/kubernetes/aai/components/aai-resources/resources/config/janusgraph-realtime.properties +++ b/kubernetes/aai/components/aai-resources/resources/config/janusgraph-realtime.properties @@ -90,7 +90,17 @@ log.tx.key-consistent={{ .Values.global.config.storage.keyConsistent }} {{ end }} storage.lock.wait-time=300 -# Setting db-cache to false ensure the fastest propagation of changes across servers -cache.db-cache = false + +# https://docs.janusgraph.org/operations/cache/#database-level-caching +# Setting db-cache to false will ensure the fastest propagation of changes across servers +# Setting db-cache to true will ensure fastest response times +cache.db-cache={{ .Values.config.janusgraph.caching.enabled }} +{{ if .Values.config.janusgraph.caching.enabled }} +# cache-time in milliseconds +cache.db-cache-time={{ .Values.config.janusgraph.caching.dbCacheTime }} +cache.db-cache-size={{ .Values.config.janusgraph.caching.dbCacheSize }} +cache.db-cache-clean-wait={{ .Values.config.janusgraph.caching.dbCacheCleanWait }} +{{ end }} + #load graphson file on startup load.snapshot.file=false |