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

Add UUID to 'temp' folder Fixes #28 #31

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

Conversation

samadhi-spice
Copy link

The temporary folder gets deleted when orpheus_core_download finishes running. However, the temporary folder will be used by any other instance of orpheusdl that is also running. The deletion of this folder will interfere with other instances.

In order to prevent interference with other running instances of orpheusdl, here is a proposed change to create the temporary folder with a folder id unique to that instance.

The temporary folder gets deleted when orpheus_core_download finishes running.
However, the temporary folder will be used by any other instance of orpheusdl that is running and the deletion of this folder will interfere with other instances.

In order to prevent interference with other running instances of orpheusdl, here is a proposed change to create the temporary folder with a unique id that will not overlap.
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