Skip to content

Add wait flag to ResourceManager #163

@andyneff

Description

@andyneff

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions