Skip to content
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

TTO-118: flag to reuse failed item #107

Merged
merged 1 commit into from
Sep 27, 2023
Merged

TTO-118: flag to reuse failed item #107

merged 1 commit into from
Sep 27, 2023

Conversation

aelkiss
Copy link
Member

@aelkiss aelkiss commented Sep 27, 2023

Rather than try to encode logic about when it does or doesn't re-download vs. re-use what we already have that varies based on whether the contributor is using dropbox or not, this makes it explicit when re-queuing something whether to use what's already been downloaded or not.

This also removes the logic that (sometimes but only in very specific circumstances/configurations now that we usually check dropbox) tries to automatically re-attempt what's in /htprep/failed, and removes a feature gate that we no longer need (now that all configurations use rabbitmq)

Rather than try to encode logic about when it does or doesn't
re-download vs. re-use what we already have that varies based on whether
the contributor is using dropbox or not, this makes it explicit when
re-queuing something whether to use what's already been downloaded or
not.

This also removes the logic that (sometimes but only in very specific
circumstances/configurations now that we usually check dropbox) tries to
automatically re-attempt what's in /htprep/failed, and removes a feature
gate that we no longer need (now that all configurations use rabbitmq)
@aelkiss aelkiss merged commit 3d1a9a7 into main Sep 27, 2023
1 check passed
@aelkiss
Copy link
Member Author

aelkiss commented Sep 27, 2023

FFR I tested this locally and it worked as expected; we don't currently have automated testing on the queuing script (although it might not be that hard to add it.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant