How to count retries? Should I count how many has been COMPLETED or how many has been STARTED?
I have an interface showing requests being sent to an external server, they are visualized in a table. There are configurable rules that determines how many retries the request is allowed to do before it expires. So, when they hit the maximum number of retries, the request is expired. But how should I count the retries? Do I visualize how many retries has been started or how many retries has been completed? i.e.:
A request is sent with 0 retries (of a maximum of 5), it hits a rule and will start over. So, now it is going on to the first retry i.e. 1/5... But, this also means that when it hits the rule the fifth time, it will say "Retried request: 5/5 retries". Would you assume it should be Expired at that time? Or would you assume it is on the last retry and if it wont work THEN it will be expired.
Or should I count the the number of retries it has completed and not the number of retries it has started? That would make it say: "Retried request 4/5 retries" and later on: "Expired request: 5/5 retries"
I tried to make myself as clear as possible, otherwise please ask questions :)