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

Lock files while they're being written #19

Merged
merged 5 commits into from
Jun 27, 2024

Conversation

BBaoVanC
Copy link

Fixes #16

This prevents a file from being deleted in the middle of being uploaded if a cleanup runs while the file is being written.

@BBaoVanC BBaoVanC marked this pull request as ready for review December 24, 2021 02:22
@BBaoVanC
Copy link
Author

Actually, this appears to be leaving locks behind sometimes. I'll try and figure out where that's happening.

@ZizzyDizzyMC ZizzyDizzyMC merged commit 57f8678 into ZizzyDizzyMC:master Jun 27, 2024
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.

If a cleanup runs during an upload, the upload is deleted
2 participants