keikoproj/active-monitor

Irregular workflow execution frequency after a set amount of time

rkilingr opened this issue · 0 comments

Describe the bug
Workflows getting rescheduled multiple times after a set amount of time. Existing timers are being stopped before getting replaced

To Reproduce

  1. Create a health check with a defined repeatAfterInterval
  2. After a definite amount of time(sometimes days) it will start triggering twice or higher frequency within the defined interval

Expected behavior
Should trigger only once within the repeatAfterInterval.

Screenshots
image

Version

keikoproj/active-monitor:v0.11.0

Logs

Paste any relevant application logs here.

Have you thought about contributing a fix yourself?

Will create a PR adding a stop on replacing the timer @ https://github.com/keikoproj/active-monitor/blob/v0.11.0/controllers/healthcheck_controller.go#L656-L658