Skip to content

Conversation

@aliyx
Copy link

@aliyx aliyx commented Mar 28, 2024

Describe what this PR does / why we need it

The gateway integrates sentinel and needs to initialize a circuit breaker for each resource (api+ip) at startup. The ip corresponding to the api is obtained by the service registry in batches. When there are a large number of apis, the set method of the degree manager is frequently invoked, resulting in a very slow startup and a batch new method is required.

Does this pull request fix one issue?

Describe how you did it

Added the method of adding rules incrementally in batches.

Describe how to verify it

Special notes for reviews

@CLAassistant
Copy link

CLAassistant commented Mar 28, 2024

CLA assistant check
All committers have signed the CLA.

@LearningGp LearningGp added to-review To review area/circuit-breaking Issues or PRs related to circuit breaking labels May 29, 2024
Copy link
Collaborator

@LearningGp LearningGp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unit tests are required.

@LearningGp LearningGp added wait-for-response PRs that require further response and removed to-review To review labels Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/circuit-breaking Issues or PRs related to circuit breaking wait-for-response PRs that require further response

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants