mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/13232] Use a cache var with _ to force TTL and shuffle cron tasks
PHPBB3-13232
This commit is contained in:
@@ -72,7 +72,8 @@ class manager
|
||||
* @return \phpbb\cron\task\wrapper|null
|
||||
*/
|
||||
public function find_one_ready_task()
|
||||
{
|
||||
{
|
||||
shuffle($this->tasks);
|
||||
foreach ($this->tasks as $task)
|
||||
{
|
||||
if ($task->is_ready())
|
||||
|
Reference in New Issue
Block a user