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

fix: Warn if CAP_IPC_LOCK capability is missing #138

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

bodgit
Copy link
Contributor

@bodgit bodgit commented Jul 4, 2024

This PR makes the lack of CAP_IPC_LOCK on Linux log a warning and continue instead of erroring so it’s a little bit friendlier for first time users. I also made the non-Linux case check if mlock() is actually supported so it should work better on something like Windows.

@mvisonneau mvisonneau self-assigned this Jul 4, 2024
@mvisonneau
Copy link
Owner

oh nice indeed, thanks!

@mvisonneau mvisonneau merged commit a5cf5e5 into mvisonneau:main Jul 4, 2024
4 of 5 checks passed
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.

2 participants