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

Using RedisTenancyBoostrapper causes problems with queue worker #1229

Open
pr4xx opened this issue Jun 3, 2024 · 0 comments
Open

Using RedisTenancyBoostrapper causes problems with queue worker #1229

pr4xx opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pr4xx
Copy link

pr4xx commented Jun 3, 2024

Bug description

When calling queue:restart, it will cause all future queue:work commands to exit after only one job, if the job was dispatched in tenant context.

Steps to reproduce

See this demo repository: https://github.com/pr4xx/tenancy-problem-demo

Expected behavior

queue:work does not stop itself

Laravel version

11.9

stancl/tenancy version

3.8

@pr4xx pr4xx added the bug Something isn't working label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants