mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-08 11:38:56 +00:00
remove deprecated unused fields from tsa shaping object
This commit is contained in:
@@ -550,22 +550,7 @@ function mod:setup_with_automation(options)
|
||||
load_shaping_data = cached_load_shaping_data,
|
||||
|
||||
get_egress_path_config = get_egress_path_config,
|
||||
should_enqueue_log_record = function(msg, hook_name)
|
||||
-- deprecated: no longer needed as we register a should_enqueue_log_record
|
||||
-- handler above.
|
||||
-- This is preserved for backwards compatibility; when
|
||||
-- called, it does nothing.
|
||||
-- TODO: remove me after next release.
|
||||
return
|
||||
end,
|
||||
setup_publish = setup_publish,
|
||||
get_queue_config = function(domain, tenant, campaign, routing_domain)
|
||||
-- deprecated: no longer needed as we register a get_queue_config
|
||||
-- handler above.
|
||||
-- This is preserved for backwards compatibility; when
|
||||
-- called, it does nothing.
|
||||
-- TODO: remove me after next release.
|
||||
end,
|
||||
}
|
||||
|
||||
return mod.CONFIGURED
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
# Unreleased Changes in The Mainline
|
||||
|
||||
## Breaking Changes
|
||||
* Removed deprecated `should_enqueue_log_record` and `get_queue_config` fields
|
||||
from the `shaper` object returned from `shaping:setup_with_automation`.
|
||||
These have had no effect for the past several stable releases, having been
|
||||
made automatic. If you are referencing them in your policy, you can simply
|
||||
remove the associated logic.
|
||||
|
||||
## Other Changes and Enhancements
|
||||
|
||||
|
||||
Reference in New Issue
Block a user