Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Messenger] Fix integration with newer versions of Pheanstalk#60308

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:7.3fromHypeMC:fix-pheanstalk-7-integration
May 8, 2025

Conversation

HypeMC
Copy link
Member

QA
Branch?7.3
Bug fix?yes
New feature?no
Deprecations?no
Issues-
LicenseMIT

Follow-up to#60040.

When I updated the Pheanstalk library, I missed the fact that version 4 internally tracked theused/watched tube. This was removed in newer versions, so now every call touseTube() orwatch() sends a command to Beanstalkd, leading to unnecessary bandwidth consumption.

This PR adds simple tracking logic to avoid redundant calls to those functions.

@carsonbotcarsonbot added this to the7.3 milestoneMay 1, 2025
@HypeMCHypeMC changed the title[Messenger] Fix integration with newer version of Pheanstalk[Messenger] Fix integration with newer versions of PheanstalkMay 1, 2025
@@ -520,4 +606,5 @@ public function testSendWithRoundedDelay()

interface PheanstalkInterface extends PheanstalkPublisherInterface, PheanstalkSubscriberInterface, PheanstalkManagerInterface
{
public function disconnect(): void;
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Version 5 doesn't include this method in any of its interfaces (probably to avoid a BC break), but the implementation does. Version 7 adds it to the interface.

@fabpot
Copy link
Member

Thank you@HypeMC.

@fabpotfabpot merged commit0040477 intosymfony:7.3May 8, 2025
9 of 11 checks passed
@HypeMCHypeMC deleted the fix-pheanstalk-7-integration branchMay 8, 2025 07:12
@fabpotfabpot mentioned this pull requestMay 10, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fabpotfabpotfabpot approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
7.3
Development

Successfully merging this pull request may close these issues.

3 participants
@HypeMC@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp