Here's yet another example of how I got burned when my local dev environment didn't match my prod environment. Sync queues work differently than other queue types.
masteringlaravel.io/daily/2024-08-06-sync-queue-works-differently-than-async
Back
•
Actually, the tip should be not to serialize models in asynchronous queues.
Takes up to much memory with Redis.
•
In response to @huberfe
Yeah I agree with that, but I am still curious of what the code looked like. In some cases I can see why passing a model to a job can make sense