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

Prevent temporary file conflict #94

Closed
alexheretic opened this issue Dec 14, 2022 · 0 comments · Fixed by #113
Closed

Prevent temporary file conflict #94

alexheretic opened this issue Dec 14, 2022 · 0 comments · Fixed by #113
Labels
enhancement New feature or request

Comments

@alexheretic
Copy link
Owner

Though it's less usual to run concurrently against the same file I think this should just work anyway. You may, for example, want to try multiple different encoder args for an encoder than uses a ~1 thread on a multi-thread machine.

Currently the temporary dir is shared. Since you can specify --temp-dir conflicts can already by worked around. But it would probably be better if conflicts didn't happen out of the box.

A simple solution is to use a random named nested temp-dir inside --temp-dir for each run.

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

Successfully merging a pull request may close this issue.

1 participant