updated delays for jobs

This commit is contained in:
2020-05-10 21:52:04 -05:00
parent 524f2051ea
commit 08844a50f7
15 changed files with 272 additions and 31 deletions

View File

@@ -136,7 +136,7 @@ class MoonsAdminController extends Controller
$mail->body = $body;
$mail->recipient = (int)$moon->requestor_id;
$mail->recipient_type = 'character';
ProcessSendEveMailJob::dispatch($mail)->onQueue('mail');
ProcessSendEveMailJob::dispatch($mail)->onQueue('mail')->delay(Carbon::now()->addSeconds(5));
return redirect('/moons/admin/display/request')->with('success', 'Moon has been processed, and mail has been sent out.');
}