Sorts sending queue according to their creation date (oldest to newest)
This commit is contained in:
@ -178,6 +178,7 @@ class SendingQueue {
|
||||
|
||||
static function getRunningQueues() {
|
||||
return SendingQueueModel::orderByAsc('priority')
|
||||
->orderByAsc('created_at')
|
||||
->whereNull('deleted_at')
|
||||
->whereNull('status')
|
||||
->whereNull('type')
|
||||
|
Reference in New Issue
Block a user