Skip to content

refactored problematic call to flush_handlers in common.yml

John Sparger requested to merge remove-flush-handlers-from-common into develop

common.yml was calling flush_handlers, presumably to get the systemd service configuration to reload. However this flushes all the handlers and was making it impossible to remove notifications to the conserver handlers elsewhere in the deployment role since the handlers were firing too early.

Changes:

  • Instead of flushing handlers, I systemd daemon-reload happens inside common when the ioc service file or e3-exporter service file is changed.
  • notification to conserver handlers removed. The conserver role already notifies those handlers.

Merge request reports

Loading