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

[5.x] Considering queue config parameter 'after_commit' #948

Merged
merged 1 commit into from
Dec 17, 2020
Merged

[5.x] Considering queue config parameter 'after_commit' #948

merged 1 commit into from
Dec 17, 2020

Conversation

graemlourens
Copy link
Contributor

The newly released 'after_commit' option in queue config from laravel framework is currently not considered when using horizon. So even if setting this option to true, jobs are still immediately dispatched even if they are within a transaction.

This PR considers the config parameter and passes it along to the RedisQueue.

@driesvints driesvints changed the title Considering queue config parameter 'after_commit' [5.x] Considering queue config parameter 'after_commit' Dec 17, 2020
@taylorotwell taylorotwell merged commit 69f85a2 into laravel:5.x Dec 17, 2020
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