-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
trio.CapacityLimiter(math.inf) #618
Comments
Thanks!
Can you share more about what your use case is? I know there are valid ones, but the last time this came up (#587) I got stuck because I couldn't figure out how to explain them in the docs. (Though, that PR did things in a less elegant way that required more explanation; if you read the comments you'll see we ended up thinking that In any case, I agree this would be a good thing to support. Any interest in putting together a PR? The |
Hi! Is it closed? I am a beginner, I want to understand how I can help |
@DjaPy Hello! You're right, this actually was fixed and the issue should have been closed, but sometimes these things get missed.... so, pointing that out is already a valuable contribution. You're off to a great start :-). Unfortunately we're a bit short of "good first issues" right now, but there is this issue if you want to take a look: #251. It's a bit more complicated than Otherwise, well... it depends on what you're interested in :-). I definitely recommend joining our gitter channel – that's where a lot of day-to-day discussion happens. There's a reply I wrote here to someone who asked about helping with documentation. If you can say some more about what your background is and what you're interested in, either here or in the gitter, then we can probably come up with some suggestions :-). |
Hello. Awesome concurrency library! I almost gave up on trying to use concurrency in Python. But Trio inspired me to stick with it.
I'm writing a library on top of Trio. I was hoping for an easy way to essentially "opt-out" of a capacity limit with a simple function argument. I tried something like this
But this fails with the following error
TypeError: total_tokens must be an int
. It seems like it should be possible maybe. What do you think?The text was updated successfully, but these errors were encountered: