mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-06 12:05:26 +00:00
Refactor changelog entries for clarity and consistency in configuration reload section
This commit is contained in:
Vendored
+1
@@ -90,6 +90,7 @@
|
||||
"mitigations",
|
||||
"MMDB",
|
||||
"modindex",
|
||||
"msconfig",
|
||||
"msgconvert",
|
||||
"msgraph",
|
||||
"MSSP",
|
||||
|
||||
+8
-18
@@ -4,24 +4,14 @@
|
||||
|
||||
### Added
|
||||
|
||||
- SIGHUP-based configuration reload for watch mode — update output
|
||||
destinations, DNS/GeoIP settings, processing flags, and log level
|
||||
without restarting the service or interrupting in-progress report
|
||||
processing. Use `systemctl reload parsedmarc` when running under
|
||||
systemd. On a successful reload, old output clients are closed and
|
||||
recreated. On a failed reload, the previous configuration remains
|
||||
fully active.
|
||||
- `close()` methods on GelfClient, KafkaClient, SyslogClient,
|
||||
WebhookClient, HECClient, and S3Client for clean resource teardown
|
||||
on reload.
|
||||
- `should_reload` parameter on all `MailboxConnection.watch()`
|
||||
implementations and `watch_inbox()` to ensure SIGHUP never triggers
|
||||
a new email batch mid-reload.
|
||||
- Elasticsearch and OpenSearch connections are now tracked and cleaned
|
||||
up on reload via `_close_output_clients()`.
|
||||
- Extracted `_parse_config_file()` and `_init_output_clients()` from
|
||||
`_main()` in `cli.py` to support config reload and reduce code
|
||||
duplication.
|
||||
- SIGHUP-based configuration reload for watch mode — update output destinations, DNS/GeoIP settings, processing flags, and log level without restarting the service or interrupting in-progress report processing.
|
||||
- Use `systemctl reload parsedmarc` when running under `systemd`.
|
||||
- On a successful reload, old output clients are closed and recreated.
|
||||
- On a failed reload, the previous configuration remains fully active.
|
||||
- `close()` methods on `GelfClient`, `KafkaClient`, `SyslogClient`, `WebhookClient`, HECClient, and `S3Client` for clean resource teardown on reload.
|
||||
- `should_reload` parameter on all `MailboxConnection.watch()` implementations and `watch_inbox()` to ensure SIGHUP never triggers a new email batch mid-reload.
|
||||
- Elasticsearch and OpenSearch connections are now tracked and cleaned up on reload via `_close_output_clients()`.
|
||||
- Extracted `_parse_config_file()` and `_init_output_clients()` from `_main()` in `cli.py` to support config reload and reduce code duplication.
|
||||
|
||||
## 9.2.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user