-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lastFetch is set even if fetch fails #10
Comments
@marc-ste It has been a while since I last checked this code, so please forgive me for sounding a bit awkward. If I'm not mistaken, queue.go doesn't seem to have a logic that will stop processing depending on the value of At least that's my take, albeit there could always be oversights. If you are encountering a problem, can you please provide some code? |
Maybe thats the literal interpretation of it, but I think its misleading. See below.
I can understand why we don't want to repeatedly fetch, but marking it as fetched and populating that entry with
Even If the last fetch failed, |
I'm sorry if I sound obtuse, but I don't understand. There might be cases that we missed which is causing you problems, i.e. our "intended behavior" is wrong, or maybe we have misleading documentation. |
In queue.go
If e.lastFetch is written before the fetch method finishes, it will be set regardless of the success of fetch(). This means that subsequent fetches don't try and fetch the object even if entry.data is nil.
The text was updated successfully, but these errors were encountered: