mirror of https://github.com/grafana/loki
Enforce per tenant queue size (#8947)
**What this PR does / why we need it**: Prior to the changes in https://github.com/grafana/loki/pull/8752 the max queue size per tenant was enforced by the size of the buffered channel to which a request was enqueued. However, since we have hierarchical queues, every sub-queue has the same channel capacity as the root (tenant) queue. Therefore the total queue size per tenant needs to be tracked separately, so requests can be rejected when the max queue size is reached. Signed-off-by: Christian Haudum <christian.haudum@gmail.com>pull/8955/head
parent
0adedfa689
commit
abc0fd26d2
Loading…
Reference in new issue