Skip to content

Conversation

@wu-yafeng
Copy link
Contributor

I have another PR diffs #19324 PR has less breaking-changes and much more compatibility.I have added following features:

  • Add extension methods for IEndpointConventionBuilder.
  • Suppress concurrency limiter for specific endpoint.
  • Add endpoint-based queue policy
  • Add test case for middleware and type created in this PR.

Addresses #19823 (in this specific format)

@wu-yafeng
Copy link
Contributor Author

I‘m considering whether add analyzer to check ConcurrencyLimiterMiddleware is behind UseRouting(...) and before UseEndpoint(...)
I send another PR about Analyzer
#20837

@halter73 halter73 self-assigned this Apr 15, 2020
- fix comment typo
- Add comments on `QueuePolicyAttribute` and `StackPolicyAttribute`
- rename `SupressQueuePolicyMetadata` to ``SupressQueuePolicyAttribute`
- declare `SupressQueuePolicyAttribute` as public
- fix typo comments on `ConcurrencyLimiterEndpointConventionBuilderExtensions.cs`
@BrennanConroy BrennanConroy added the community-contribution Indicates that the PR has been added by a community member label Jan 8, 2021
Base automatically changed from master to main January 22, 2021 01:32
@halter73
Copy link
Member

halter73 commented Mar 3, 2021

Thanks for the contribution @wu-yafeng and sorry for not getting back to you on this sooner. It doesn't look like we're going to be investing much more in ConcurrencyLimiterMiddleware and instead will be investigating a broader feature around request throttling: #29933. Because of this, I don't think it's worth adding new features to this API.

@halter73 halter73 closed this Mar 3, 2021
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares and removed area-runtime labels Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants