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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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.

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
1 participant