adjusted the structure request mail delay
This commit is contained in:
@@ -62,7 +62,7 @@ class StructureRequestController extends Controller
|
|||||||
])->get();
|
])->get();
|
||||||
|
|
||||||
//Set the mail delay
|
//Set the mail delay
|
||||||
$delay = 5;
|
$delay = 30;
|
||||||
|
|
||||||
foreach($fcTeam as $fc) {
|
foreach($fcTeam as $fc) {
|
||||||
$body = "Structure Anchor Request has been entered.<br>";
|
$body = "Structure Anchor Request has been entered.<br>";
|
||||||
@@ -74,7 +74,7 @@ class StructureRequestController extends Controller
|
|||||||
$subject = "New Structure Anchor Request";
|
$subject = "New Structure Anchor Request";
|
||||||
ProcessSendEveMailJob::dispatch($body, (int)$fc->character_id, 'character', $subject, $config['primary'])->onQueue('mail')->delay(Carbon::now()->addSeconds($delay));
|
ProcessSendEveMailJob::dispatch($body, (int)$fc->character_id, 'character', $subject, $config['primary'])->onQueue('mail')->delay(Carbon::now()->addSeconds($delay));
|
||||||
|
|
||||||
$delay += 15;
|
$delay += 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect('/structures/display/requests');
|
return redirect('/structures/display/requests');
|
||||||
|
|||||||
Reference in New Issue
Block a user