mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-06 18:48:57 +00:00
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.
19 lines
479 B
Markdown
19 lines
479 B
Markdown
# `kumo.on('get_queue_config', function(domain, tenant, campaign))`
|
|
|
|
```admonish
|
|
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.
|
|
|
|
```lua
|
|
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](../kumo/make_queue_config.md).
|