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

(#114) Fix changing max_waiting value when delivery_subject is set #121

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

ploubser
Copy link
Collaborator

Here we update the max_waiting consumer resource field to be computed. This allows us to set its value to 0 when delivery_subject is set and not have it flip to the default on every apply.

max_waiting now also conficts with the delivery_subject field, since these two imply the use of push vs pull consumers and don't make sense when specified together.

…` is set

Here we update the `max_waiting` consumer resource field to be computed.
This allows us to set its value to 0 when `delivery_subject` is set
and not have it flip to the default on every apply.

`max_waiting` now also conficts with the `delivery_subject` field, since
these two imply the use of push vs pull consumers and don't make sense
when specified together.
Copy link
Collaborator

@ripienaar ripienaar left a comment

Choose a reason for hiding this comment

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

LGTM

@ripienaar ripienaar merged commit b03bda9 into nats-io:main Aug 22, 2024
2 checks passed
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