mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 12:37:54 +08:00
update: add send mass mail queue
This commit is contained in:
@ -21,10 +21,9 @@ class SendEmailJob implements ShouldQueue
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($params)
|
||||
public function __construct($params, $queue = 'send_email')
|
||||
{
|
||||
$this->delay(now()->addSecond(2));
|
||||
$this->onQueue('send_email');
|
||||
$this->onQueue($queue);
|
||||
$this->params = $params;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user