mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-20 03:18:18 +00:00
0eefb02bed
To facilitate this, formatlize the `campaign:tenant@domain` naming and add a helper type to parse and format that tuple of information to make it easier to work with in the code. Adjust the get_x_config events to accept those parameters.
479 B
479 B
kumo.on('get_queue_config', function(domain, tenant, campaign))
This event handler is in flux and may change significantly
Not the final form of this API, but this is currently how we retrieve configuration used for managing a queue.
kumo.on('get_queue_config', function(domain_name, tenant, campaign)
return kumo.make_queue_config {
max_retry_interval = 20 * 60,
}
end)
See also kumo.make_queue_config.