This commit adds a background task that periodically evaluates a glob expression that defaults to the recommended configuration location and filename suffixes, and a set of additional paths to observe. Whenever the hash of that combined set of files changes it causes the ConfigEpoch to increment and broadcast to subscribers that the configuration has changed in some fashion. The QueueConfig struct has a new refresh_strategy which can select between the earlier Ttl based refresh for the queue config, or the new Epoch refresh. When the epoch changes, the config refresh task will cause each of the scheduled queues that is using the Epoch strategy to re-evaluate the get_queue_config event to update their configuration. The queues helper sets the refresh strategy to Epoch. A new HTTP endpoint has been added: it can force a bump in the current epoch, effectively causing all epoch subscribers to wake up and perform a refresh. These changes avoid doing O(number-of-scheduled-queues) get_queue_config callouts every refresh_interval; instead, the work is performed only when an appropriate change is detected or triggered.
KumoMTA
KumoMTA is an open-source Message Transfer Agent (MTA) designed for high-performance outbound email functionality, similar to commercial enterprise MTAs such as Momentum, PowerMTA, and Halon.
The KumoMTA project was founded by a group of email industry veterans with decades of experience building and managing high-performance On-Prem MTAs and is supported by a community of some of the largest senders in the world.
Because it is designed for high-performance sending environments, KumoMTA is for experienced email operations professionals who are accustomed to high-performance sending environments and familiar with DevOps practices.
Learn more in our FAQ and at https://kumomta.com/.
Documentation
You can learn more about KumoMTA from the Documentation.
Community
Real-time discussion is available on Our Discord.
Developers
If you are interested in contributing/extending KumoMTA, take a look at DEVELOPERS.md. The #devel channel on Our Discord is for contributors to discuss KumoMTA development.
Reporting Bugs
See How to Report Bugs.
Getting Help
See How to Get Help. For paid support see https://kumomta.com/support.
Getting Updates
You can subscribe to updates at https://kumomta.com/subscribe, we send updates periodically and will never sell nor share your information.
Talk to Us
We're available to talk about the project, book us at https://cal.com/team/kumomta/talk-with-kumomta.