laravel
laravel copied to clipboard
Include sleep option in queue config
This PR exposes the sleep argument for the queue:work command. The motivation behind this change is to reduce the delay between dispatching an asynchronous job and a worker picking it up. This delay can create a noticeable lag in the UI, which I'm currently experiencing. In my case, setting sleep=0 resolves the issue.