Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 232413a

Browse files
authored
Merge pull request #445 from jmazanec15/patch-2
Fix default circuit breaker limit for knn
2 parents 44ad9c1 + fc79711 commit 232413a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/knn/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ Setting | Default | Description
3131
`knn.cache.item.expiry.minutes` | 3h | If enabled, the idle time before removing a graph from memory.
3232
`knn.circuit_breaker.unset.percentage` | 75.0 | The native memory usage threshold for the circuit breaker. Memory usage must be below this percentage of `knn.memory.circuit_breaker.limit` for `knn.circuit_breaker.triggered` to remain false.
3333
`knn.circuit_breaker.triggered` | false | True when memory usage exceeds the `knn.circuit_breaker.unset.percentage` value.
34-
`knn.memory.circuit_breaker.limit` | 60% | The native memory limit for graphs. At the default value, if a machine has 100 GB of memory and the JVM uses 32 GB, KNN uses 60% of the remaining 68 GB (40.8 GB). If memory usage exceeds this value, KNN removes the least recently used graphs.
34+
`knn.memory.circuit_breaker.limit` | 50% | The native memory limit for graphs. At the default value, if a machine has 100 GB of memory and the JVM uses 32 GB, the k-NN plugin uses 50% of the remaining 68 GB (34 GB). If memory usage exceeds this value, KNN removes the least recently used graphs.
3535
`knn.memory.circuit_breaker.enabled` | true | Whether to enable the KNN memory circuit breaker.
3636
`knn.plugin.enabled`| true | Enables or disables the KNN plugin.

0 commit comments

Comments
 (0)