Skip to content

kumo.compute_queue_config_constraints

local constraints = kumo.compute_queue_config_constraints(queue_config)
Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

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.