Skip to content

Adds allocation limits for a resource#667

Merged
aebruno merged 1 commit intocoldfront:mainfrom
matthew-kusz:allocation_limits
Apr 19, 2025
Merged

Adds allocation limits for a resource#667
aebruno merged 1 commit intocoldfront:mainfrom
matthew-kusz:allocation_limits

Conversation

@matthew-kusz
Copy link
Copy Markdown
Contributor

@matthew-kusz matthew-kusz commented Mar 27, 2025

This PR adds the ability to set a limit on the number of allocations a resource can have in a project. This is set by creating a new
allocation_limit resource attribute for a resource with the number you want to limit the resource to. It will prevent users from submitting a new allocation request for that resource if the limit is reached. This limit applies to all projects for that resource. This partially handles #659.

allocation_limit

Signed-off-by: Matthew Kusz <Matt52@roadrunner.com>
Copy link
Copy Markdown
Member

@aebruno aebruno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks @matthew-kusz

@aebruno aebruno merged commit e077daa into coldfront:main Apr 19, 2025
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