We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf347ca + f67800f commit fa0c875Copy full SHA for fa0c875
1 file changed
src/Model/Table/EmailQueueTable.php
@@ -103,6 +103,7 @@ public function getBatch($size = 10)
103
$this->aliasField('send_at').' <=' => new FrozenTime('now'),
104
$this->aliasField('locked') => false,
105
])
106
+ ->limit($size)
107
->order([$this->aliasField('created') => 'ASC']);
108
109
$emails
0 commit comments