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

clean up corrupted versions after 1 minute #1373

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ricardo-devis-agullo
Copy link
Collaborator

This makes usage of the new removeDir method available on the storage adapters to clean up corrupted components (that is, components that failed to be published while in the middle of it, so only some files got to storage).

It will wait 1 minute before cleaning, and after a minute it will check again and if its still incomplete, it will delete it. This is in case a new instance of a registry boots up and thinks a component that its still in the middle of publishing to be corrupted.

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.

1 participant