Skip to content

Conversation

@taylorotwell
Copy link
Member

@taylorotwell taylorotwell commented Oct 17, 2025

Very similar to sync queue, but deferred. Potentially useful for failover queues.

@taylorotwell taylorotwell merged commit 31abad6 into 12.x Oct 17, 2025
65 of 67 checks passed
@taylorotwell taylorotwell deleted the deferred-queue branch October 17, 2025 12:10
AhmedAlaa4611 referenced this pull request in laravel/docs Oct 24, 2025
AhmedAlaa4611 referenced this pull request in laravel/laravel Oct 27, 2025
@barryvdh
Copy link
Contributor

barryvdh commented Nov 3, 2025

@taylorotwell in similar fashion, what do you think of using Concurrency::defer to push jobs to a background process?
That would basically be the same, but it pushed them to process so probably better for larger tasks.

 public function push($job, $data = '', $queue = null) { Concurrency::driver('process')->defer(fn () => Queue::connection('sync')->push($job, $data, $queue)); } 

See #57648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants