Variable | LIVEQUERY_CANCEL_COST_PERCENTAGE | |
Description | Backlog allowed before canceling the queries with the highest cost | |
Default | 10 |
How big a backlog of events in LogScale is allowed before LogScale starts canceling live queries in order to catch up with the presumed spike in inbound traffic. The check occurs every 30 seconds and cancels the queries that account to the percentage of the locally running live queries on each node that had the highest cost since last check.
# LIVEQUERY_CANCEL_TRIGGER_DELAY_MS=60000
# LIVEQUERY_CANCEL_COST_PERCENTAGE=10
# LIVEQUERY_STALE_CANCEL_TRIGGER_DELAY_MS=20000
# LIVEQUERY_STALE_CANCEL_COST_PERCENTAGE=10
How big a backlog of events in LogScale is allowed before LogScale starts dropping stale live queries in order to catch up with the presumed spike in inbound traffic. Stale live queries are those that have not been refresh on any UI for more than the required keep alive interval. The check occurs every 30 seconds and cancels the queries that account to the percentage of the running live queries on each node that had the highest cost since last check.