|Controls canceling of the most consuming live queries
In combination with
controls how stale queries are managed:
The "Stale" monitoring is concerned with queries that have not been polled recently. Those get cancelled after a while if their cost sum is sufficiently high. This is done on the coordinator side. The internal task is
The "non stale" monitoring is concerned with the local query execution in a worker node where it inspects the cost of all queries running and starts cancelling some if the ingest delay increases above the threshold set by
LIVEQUERY_CANCEL_TRIGGER_DELAY_MSThe internal task is
LocalLivequeryMonitor. Note how this one may drop queries even if they are still being used or viewed.