no message
This commit is contained in:
parent
a4b09a3c03
commit
1edce6b52c
@ -498,7 +498,7 @@ final class Cron
|
|||||||
}
|
}
|
||||||
|
|
||||||
DB::beginTransaction();
|
DB::beginTransaction();
|
||||||
$email_queues_raw = DB::select('SELECT * FROM email_queue where `type` = "bulk" order by id DESC LIMIT 1 FOR UPDATE SKIP LOCKED');
|
$email_queues_raw = DB::select('SELECT * FROM email_queue where `type` = "bulk" LIMIT 1 FOR UPDATE SKIP LOCKED');
|
||||||
|
|
||||||
if (count($email_queues_raw) === 0) {
|
if (count($email_queues_raw) === 0) {
|
||||||
DB::commit();
|
DB::commit();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user