mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-10 12:32:13 +00:00
These are two different groups of queues, so there are two different sets of things to manage them. kcli now has `suspend(-list|cancel)?` and `suspend-ready-q(-list|cancel)?` subcommands for establishing a suspension, listing the suspensions and cancelling a suspension in the scheduled-q and ready-q namespaces respectively. The names of the ready queues can be derived from the metrics API: ```console $ curl -s 'http://localhost:8000/metrics.json' | jq . ... "ready_count": { "help": "number of messages in the ready queue", "type": "gauge", "value": { "service": { "smtp_client:source2->(in1-smtp|in2-smtp).messagingengine.com": 0.0 } } }, ... ``` From the above, `source2->(in1-smtp|in2-smtp).messagingengine.com` is the name of the underlying ready queue. We can and probably should add something to `kcli` to make that slightly easier to review and manage for the operator. refs: https://github.com/KumoCorp/kumomta/issues/51