#Explanation on throttling exceptions documentation

1 messages · Page 1 of 1 (latest)

white temple
#

I wanna clarification on the explanation on return [new ThrottlesExceptions(10, 5)]; because it said 5 minutes for the second parameter, but from the hint, it is decaySeconds, so I assume it should be seconds, not minutes so I think it should be corrected in the doc as " if the job throws 10 exceptions within 5 seconds". Sorry if I'm wrong.

median glacier
white temple
#

@median glacier ok, so does that means that the doc need to be updated too, since it should be seconds (the second constructor arguments), not minutes

#

or is it left like that because wanna avoid confuse with previous change (before this it is minutes yes)

white temple
#

yup, I'll leave to you guys to edit it since it's granularity are in seconds. Thank you for the reply. Closing this now.