mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 03:24:34 -04:00
Add slight delay to mailer
This commit is contained in:
parent
f0bf26ad14
commit
e804e083a0
@ -132,7 +132,7 @@ class EmailController extends BaseController
|
|||||||
|
|
||||||
//@TODO why is this dispatchNow instead of just dispatch?
|
//@TODO why is this dispatchNow instead of just dispatch?
|
||||||
//update - changing to dispatch and see if something breaks.
|
//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…
x
Reference in New Issue
Block a user