Complexity Control
[complexity_control]
mode = "enforce"
limit = 10000
list_size = 100
mode
enables complexity control. Choose one of two values:enforce
calculates the complexity of all queries and rejects incoming requests that exceed the configured limit.measure
calculates the complexity of all queries but only reports the complexity
limit
sets the complexity limit for incoming queries (when mode isenforce
).list_size
sets the default assumed size of lists in queries when their associated field does not have a@listSize
directive.
Read more about complexity control.