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

Add support to provide zero connection rate limit #87

Merged
merged 1 commit into from
Jun 20, 2022
Merged

Conversation

Chinmay1412
Copy link
Contributor

We are allowing to configure zero connection rate limit using amqpprox_ctl LIMIT command. But in that case, connectionLimiterManager will consider zero value as no limiter. So the PR fixes that issue. Now, the default limits will be maintained as std::optional. So boolean value can differentiate between zero and no value.

@Chinmay1412 Chinmay1412 requested a review from adamncasey June 9, 2022 15:35
@Chinmay1412 Chinmay1412 merged commit f40e458 into main Jun 20, 2022
@Chinmay1412 Chinmay1412 deleted the 0-rate branch June 20, 2022 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants