Open CMD, and run command: php artisan queue:listen --queue=low --sleep=0 --timeout=0
Open CMD, and run command: php artisan queue:listen --queue=high --sleep=0 --timeout=0
Add queue:
\Queue::push(function($job) {\Log::info('10This is was written via the MailWorker class at '.time().', id is '.$job->getJobId());$job->release(10); },array('message'=>'aa'), 'high');\Queue::push( '\DavinBao\Mailbox\MailWorker@receiveMail', array('message'=>'aa'), 'low');
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.