From 64c4e62ca37a6577e82d15cd5e7a9d7a7918a813 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Wed, 16 Nov 2022 15:00:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B4=D0=B8=D1=81=D0=BF=D0=B5=D1=82=D1=87=D0=B5?= =?UTF-8?q?=D1=80=D0=B0=20=D0=BE=D1=87=D0=B5=D1=80=D0=B5=D0=B4=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/ajax/threads.php | 2 +- core/cron.php | 33 ++++++++++++++++++- .../Core/Helpers/SystemFunctions.class.php | 16 ++++++++- core/lib/Core/MQTasks.class.php | 20 +++++++++++ core/lib/Core/Models/DB.class.php | 8 +++-- core/lib/Core/Models/MQ.class.php | 8 +++-- core/runtime/threadsWorker.php | 1 + 7 files changed, 80 insertions(+), 8 deletions(-) diff --git a/admin/ajax/threads.php b/admin/ajax/threads.php index f4080f4..87ed374 100644 --- a/admin/ajax/threads.php +++ b/admin/ajax/threads.php @@ -48,7 +48,7 @@ getTasks(10, 'priority', 'asc'); + $arTasks = $MQ->getTasks(10, 'in_progress', 'desc'); foreach ($arTasks as $task) { ?>