Hi Guys,

We manage a counter to check how many time the URL has been consecutively in
state Retry following some trouble to get the page.

Here is a sample of the code:

case ProtocolStatus.RETRY:          // retry
                fit.datum.setRetriesSinceFetch(
fit.datum.getRetriesSinceFetch()+1);

However i notice that we don't reinitialise this counter at 0 in the case of
successful fetch.

Is there any reason, any logic that i don't understand ? or should we reset
the counter everytime we have "case ProtocolStatus.SUCCESS:  " ?

Thanks for your feedback

Reply via email to