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

In reserve method, if the payload is null, throws an error in PHP 8.1 #468

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

magarzon
Copy link
Contributor

@magarzon magarzon commented Feb 7, 2023

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Fixed issues

If the payload in reserve is null (for example, it can be possible when there is concurrency), the next method (explode) throws a deprecated error in PHP 8.1

@samdark samdark added the type:bug Bug label Feb 7, 2023
@samdark samdark added this to the 3.0.0 milestone Feb 7, 2023
@samdark
Copy link
Member

samdark commented May 22, 2023

What's the case when it becomes null?

@s1lver
Copy link
Member

s1lver commented May 23, 2023

Same case #450 and issue #373

@s1lver
Copy link
Member

s1lver commented May 24, 2023

I checked the work on the config:
Alpine 3.18.0
PHP 8.1.19
Redis 6.2.6
yii2-queue 2.3.5
yii2-redis 2.0.18

Processed over 40,000 jobs in different configurations. The problem could not be reproduced.
@magarzon Could you please write your configuration and detailed steps to reproduce the problem?

Is there a proxy between redis and the application and what are the timeouts?

@terabytesoftw
Copy link
Member

@bizley

@bizley
Copy link
Member

bizley commented Sep 30, 2023

Can we get a changelog line here?

@s1lver s1lver mentioned this pull request Oct 2, 2023
@s1lver
Copy link
Member

s1lver commented Oct 2, 2023

Can we get a changelog line here?

I made a PR #495

@s1lver
Copy link
Member

s1lver commented Oct 2, 2023

@bizley hmm... you merged the PR with the changelog entries, but not the PR itself

@s1lver s1lver mentioned this pull request Oct 2, 2023
@bizley bizley merged commit 17fcf6a into yiisoft:master Oct 3, 2023
6 checks passed
@bizley
Copy link
Member

bizley commented Oct 3, 2023

Cheers 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants