operand / agency

A fast and minimal framework for building agent-integrated systems
https://createwith.agency
MIT License
416 stars 21 forks source link

Parameterization of Max Workers in ResourceManager #185

Closed migueldl96 closed 7 months ago

migueldl96 commented 7 months ago

This PR introduces a parameterization feature for the ResourceManager class, allowing the number of maximum workers (max_workers) to be specified during the instantiation of the class. The addition of the max_workers parameter in the init method enables greater flexibility in configuring the concurrent execution environment. With this enhancement, users can now initialize the ResourceManager with a custom number of maximum workers, providing more control over the concurrent processing capabilities of the application.

operand commented 7 months ago

@migueldl96 thanks so much for the contribution! Apologies I didn't see this for a few days. I'm merging this in and will publish a patch update for the library shortly.