From efa60ec33e4cd73e88d2556849cdfa375c40de2e Mon Sep 17 00:00:00 2001 From: Thibault Normand Date: Wed, 11 Dec 2024 15:00:53 +0100 Subject: [PATCH] chore(graph): increase max-limit, and disable force-index. --- deployments/kubehound/graph/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/kubehound/graph/Dockerfile b/deployments/kubehound/graph/Dockerfile index 352a85ff..a702473c 100644 --- a/deployments/kubehound/graph/Dockerfile +++ b/deployments/kubehound/graph/Dockerfile @@ -60,10 +60,10 @@ ENV gremlinserver.metrics.graphiteReporter.enabled=false ENV gremlinserver.metrics.csvReporter.enabled=false # Add safety net settings to prevent OOM and other issues -ENV janusgraph.query.force-index=true +ENV janusgraph.query.force-index=false ENV janusgraph.cluster.max-partitions=512 ENV janusgraph.query.batch=true -ENV janusgraph.query.hard-max-limit=10000 +ENV janusgraph.query.hard-max-limit=100000 ENV janusgraph.query.smart-limit=true # Performance tweaks based on: https://www.sailpoint.com/blog/souping-up-the-gremlin/