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

plugin: support bypassing limits #420

Open
cmoussa1 opened this issue Feb 15, 2024 · 0 comments
Open

plugin: support bypassing limits #420

cmoussa1 opened this issue Feb 15, 2024 · 0 comments
Labels
new feature new feature plugin related to the multi-factor priority plugin

Comments

@cmoussa1
Copy link
Member

This was brought up in our team meeting yesterday that eventually, the plugin should be able to support bypassing limits for certain users' jobs. This could be handled (at least at first) by unpacking and checking for a certain attribute in the callbacks that increase/decrease limits.

For example, in job.new, if we find this attribute, we can skip this increment of the users' active_jobs count:

b->cur_active_jobs++;

Or ignore a user's running_jobs count by skipping the increment in the callback for job.state.run:

b->cur_run_jobs++;

@cmoussa1 cmoussa1 added new feature new feature plugin related to the multi-factor priority plugin labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature new feature plugin related to the multi-factor priority plugin
Projects
None yet
Development

No branches or pull requests

1 participant