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

Add wait flag to ResourceManager #163

Open
andyneff opened this issue Sep 18, 2023 · 0 comments
Open

Add wait flag to ResourceManager #163

andyneff opened this issue Sep 18, 2023 · 0 comments

Comments

@andyneff
Copy link
Member

Right now, if the ResourceManger runs out of resources, it will through an exception by design. Some people would prefer it to wait instead so that we could start to have tasks that only partially use the resource and share the resource.

Perhaps adding a flag to the .get_resource method could allow for certain pieces of code to allow for this over committing of resource sharing. A timeout of sorts should probably be used to prevent an infinitely waiting. and a FIFO queue should probably be added to add FIFO behavior.

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

No branches or pull requests

1 participant