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

[cleanup][broker]Tidy dispatchRateLimiter init #15604

Merged
merged 1 commit into from
May 18, 2022

Conversation

AnonHxy
Copy link
Contributor

@AnonHxy AnonHxy commented May 15, 2022

Motivation

Tidy up the code updating rate limiter to make it more clear.

Modifications

  • Pick updateSubscribeRateLimiter() out of initializeRateLimiterIfNeeded to make the code more clear.

Verifying this change.

  • Also rename initializeRateLimiterIfNeeded to initializeDispatchRateLimiterIfNeeded
  • Make sure that the change passes the CI checks.

Documentation

  • no-need-doc

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 15, 2022
@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 15, 2022

/pulsarbot run-failure-checks

2 similar comments
@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 15, 2022

/pulsarbot run-failure-checks

@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 16, 2022

/pulsarbot run-failure-checks

@AnonHxy AnonHxy force-pushed the tidy_init_dispatch_rate_limiter branch from 7758c15 to fc30f4b Compare May 16, 2022 03:02
@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 16, 2022

/pulsarbot run-failure-checks

4 similar comments
@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 16, 2022

/pulsarbot run-failure-checks

@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 16, 2022

/pulsarbot run-failure-checks

@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 16, 2022

/pulsarbot run-failure-checks

@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 16, 2022

/pulsarbot run-failure-checks

@AnonHxy AnonHxy force-pushed the tidy_init_dispatch_rate_limiter branch from fc30f4b to 3502cc7 Compare May 16, 2022 18:04
@AnonHxy
Copy link
Contributor Author

AnonHxy commented May 17, 2022

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.11.0 milestone May 18, 2022
@codelipenghui codelipenghui added type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use area/broker labels May 18, 2022
@codelipenghui codelipenghui changed the title [broker]Tidy dispatchRateLimiter init [cleanup][broker]Tidy dispatchRateLimiter init May 18, 2022
@Technoboy- Technoboy- merged commit ccd99fd into apache:master May 18, 2022
AnonHxy added a commit to AnonHxy/pulsar that referenced this pull request Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker doc-not-needed Your PR changes do not impact docs type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants