Loading video...

Video Failed to Load

Go Home

If you queue jobs within transactions in Laravel, enable “after_commit” globally to avoid issues. 🫡

16,924 views • 1 year ago •via X (Twitter)

4 Comments

Zoran Stalevski's profile picture
Zoran Stalevski1 year ago

@laravelphp This begs the question: why isn't it the default setting? Any downsides?

opensourceCM's profile picture
opensourceCM1 year ago

What’s the cost of mistakes in your contracts? If you work with contracts day-to-day, it’s time to automate. Track every detail, streamline workflows ... ✨ Make managing contracts as easy as a few clicks. Visit our new website & book your demo today!

Luigi G's profile picture
Luigi G1 year ago

@laravelphp if I enabled globally but want to make an exception ? exists something like commitRightAwayPls?

Floris Andrei's profile picture
Floris Andrei1 year ago

@laravelphp Spent a whole lot of time last week getting our workers just right. Ended up rewriting a whole lot of the Laravel workers. Idk - feels like they use the wrong abstraction. They should work differently based on different messaging brokers.

Related Videos