Closed smt116 closed 9 years ago
try:
trigger :flapping1, times: 3, within: 2.minutes, retry_in: 5.minutes
trigger :flapping2, times: 6, within: 10.minutes, retry_in: 60.minutes
after retry_times, you can start only by hands.
Thanks. I didn't know that I can just provide another name ;)
It will not work. Eye will pick only the "shorter" one.
what you expect?
trigger :flapping1, times: 3, within: 2.minutes, retry_in: 5.minutes
trigger :flapping2, times: 6, within: 10.minutes, retry_in: 60.minutes
I have a case when process depends on a database. It will crash when user will restore a wrong database backup. Eye will keep sending an alert each 5 minutes till the database is fixed or someone from our supports takes an action.
i think about this:
trigger :flapping, times: 3, within: 2.minutes, retry_in: 5.minutes, retry_times: 3, reretry_in: 60.minutes, reretry_times: 3
For me it is a "good enough" solution, but not sure about these names. What if someone in the future will ask about one more step? rereretry
? ;) Maybe better would be some hash as an option? or support for multiple definitions?
Hi there,
is it possible to achieve something like:
?
I know that there is
retry_times
, but I guess that it will require manual start after that. Am I right?