mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-21 20:08:18 +00:00
1007 B
1007 B
kumo.compute_queue_config_constraints
local constraints = kumo.compute_queue_config_constraints(queue_config)
{{since('dev')}}
Given a scheduled-queue configuration table (as returned by kumo.invoke_get_queue_config or constructed via kumo.make_queue_config), returns the throughput ceilings implied by the queue config.
Today this surfaces max_message_rate, which gates promotion of
messages from the scheduled queue into its ready queue. The result
has the same shape as the value returned by
kumo.compute_egress_path_config_constraints:
ceilings carrying a value, source and display, with source
tagged as other with name "scheduled queue max_message_rate".
Pass the result back into
kumo.compute_egress_path_config_constraints
as its additional argument to fold the scheduled-queue rate into
the path-derived ceilings.