Skip to content

[Messenger] [Beanstalkd] fix tube stats when it's empty #53730

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

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

eminjk
Copy link
Contributor

@eminjk eminjk commented Feb 2, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #53526
License MIT

When Beanstalkd's tube was empty messenger:stats commands throws an NOT_FOUND error instead of 0.
Initializing tube before retrieving tube stats force beanstalkd to created it and then it returns proper value.

@carsonbot carsonbot added this to the 6.4 milestone Feb 2, 2024
@eminjk eminjk changed the title prevent throwing NOT_FOUND error when tube is empty [Messenger] [Beanstalkd] fix tube stats when it's empty Feb 2, 2024
@nicolas-grekas nicolas-grekas modified the milestones: 6.4, 5.4 Feb 5, 2024
@nicolas-grekas nicolas-grekas changed the base branch from 6.4 to 5.4 February 5, 2024 15:45
@nicolas-grekas nicolas-grekas force-pushed the fix-beanstalkd-queue-stat branch from 6a4d700 to 22e105d Compare February 5, 2024 15:45
@nicolas-grekas
Copy link
Member

Thank you @eminjk.

@nicolas-grekas nicolas-grekas merged commit 2bfac0d into symfony:5.4 Feb 5, 2024
This was referenced Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants