Skip to content

Commit

Permalink
chore(graph): increase max-limit, and disable force-index.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenithar committed Dec 11, 2024
1 parent 8a3e920 commit efa60ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployments/kubehound/graph/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit efa60ec

Please sign in to comment.