Add slight delay to mailer
This commit is contained in:
parent
f0bf26ad14
commit
e804e083a0
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ class EmailController extends BaseController
|
|||
|
||||
//@TODO why is this dispatchNow instead of just dispatch?
|
||||
//update - changing to dispatch and see if something breaks.
|
||||
EmailEntity::dispatch($invitation, $invitation->company, $template, $data);
|
||||
EmailEntity::dispatch($invitation, $invitation->company, $template, $data)->delay(now()->addSeconds(5));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue