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

[feat] support "infinity" in ulimit values, as an alias to -1 #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gfx
Copy link

@gfx gfx commented Apr 15, 2021

Hello, team!

I'd like to use --ulimit memlock=infinity, as sys/resource.h provides RLIM_INFINITY. Fortunately, -1 is already supported as the infinity, so I've implemented a new keyword infinity as an alias to -1.

  • unit tests

@gfx gfx changed the title support "infinity" in ulimit values, as an alias to -1 [feat] support "infinity" in ulimit values, as an alias to -1 Sep 28, 2022
@gfx
Copy link
Author

gfx commented Aug 8, 2023

@thaJeztah Could you take a look at this?

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