connection stuff

This commit is contained in:
2021-03-30 20:44:29 +09:00
parent 3c1278db82
commit 38176274ff
12 changed files with 12 additions and 47 deletions
@@ -29,11 +29,6 @@ class ProcessSendEveMailJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* The queue connection that should handle the job
*/
public $connection = 'queue';
/**
* Retries
* With new rate limiting, we need a retry basis versus timeout basis
@@ -54,7 +49,7 @@ class ProcessSendEveMailJob implements ShouldQueue
*/
public function __construct($body, $recipient, $recipient_type, $subject, $sender) {
//Set the connection
//$this->connection = 'redis';
$this->connection = 'redis';
//Set the middleware for the job
$this->middleware = $this->middleware();