Files
kumomta/docs/reference/events/get_queue_config.md
T
Wez Furlong 0eefb02bed make destination site queues per-tenant
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.
2023-02-26 19:59:56 -07:00

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).