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

Allow concurrency limits to be configured dynamically with lambda/proc #696

Merged
merged 3 commits into from
Aug 15, 2022

Conversation

baka-san
Copy link
Contributor

Adds the ability to set dynamic concurrency limits (i.e. total_limit, enqueue_limit, and perform_limit) via a proc similar to how a key can be set via a proc. Discussed in issue #684.

@bensheldon bensheldon changed the title feat: allow concurrency limits to be configured dynamically with procs Allow concurrency limits to be configured dynamically with lambda/proc Aug 14, 2022
@baka-san
Copy link
Contributor Author

@bensheldon Thanks for solving that issue. Sorry about that.

I'm having some problems setting up the local environment, hence running the test suite. Xcode and rbtrace aren't playing together nicely. Which OS are you using?

@bensheldon
Copy link
Owner

@baka-san I'm using MacOS 12.5. I should clean up the Gemfile's development section because rbtrace isn't necessary, only nice to have for debugging deadlocks.

@bensheldon
Copy link
Owner

@baka-san I just removed some unnecessary dev dependencies. Let me know if that fixes things for you. This PR looks good right now so I'll merge it when CI passes 👍🏻

@bensheldon bensheldon merged commit 748dd64 into bensheldon:main Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants