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

File lock not actually acquired #3

Open
rmcgibbo opened this issue Oct 24, 2021 · 0 comments · May be fixed by #4
Open

File lock not actually acquired #3

rmcgibbo opened this issue Oct 24, 2021 · 0 comments · May be fixed by #4

Comments

@rmcgibbo
Copy link

It looks like the file lock is not actually acquired. If you look at the implementation of AdvisoryLockFile: https://docs.rs/advisory-lock/0.2.0/src/advisory_lock/lib.rs.html#59-74, merely opening the file doesn't acquire the lock -- it's necessary to call the lock function, which doesn't seem like is being done here.

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 a pull request may close this issue.

1 participant