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

Manage Connections #10235

Closed
Steffx115 opened this issue Jun 18, 2024 · 2 comments
Closed

Manage Connections #10235

Steffx115 opened this issue Jun 18, 2024 · 2 comments

Comments

@Steffx115
Copy link

What problem would the feature you're requesting solve? Please describe.

Frustrating to deal with Connection Limit Exceeded (App needs to be restarted)

Describe the solution you'd like

Manage Connections internally (my implementation simply uses a semaphoreSlim and waits before every request. Optionally, if the CurrentCount of SemaphoreSlime is 0, throw an Exceptino)

Describe alternatives you've considered

Described my solution above, only problem is that is has to be implemented for every call that uses connections, and i dont have knowledge about the internals of the function host, so i cant optimize that right now

@JAdluri
Copy link

JAdluri commented Dec 18, 2024

Could you please mention the number of connections you are using and meanwhile please look after the document : https://learn.microsoft.com/en-us/dotnet/standard/threading/semaphore-and-semaphoreslim

Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

If you are not the original author (Steffx115) and believe this issue is not stale, please comment with /bot not-stale and I will not close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants