Closed machenity closed 4 years ago
@machenity Thank you for the contribution. It would be great to share the impact of this change.
Could you share results before/after this change?
@machenity Could you share this change to the dev
mailing list as well?
@style95 Thanks for your rewordings. But adding a configuration maximum option can be a little tricky. I think adding two parameters(e.g. {strict: boolean, max_delay: number}) is too abundant for just one option.
@machenity
Actually, strict
would be exposed to users but max_delay
would only be exposed to operators.
So max_delay
is a deployment option, and I think it is a viable option.
I made an implementation of what I suggested in #196 A parameter
strict
is added inalarms/alarm
feed to enable the firing distribution. If user passes the boolean valuetrue
(or nothing; it's default), firing will act like usual. Distribution is only enabled whenstrict=false
is passed.