diff --git a/admin/threads.php b/admin/threads.php
index 0d4a6ee..33dc7d3 100644
--- a/admin/threads.php
+++ b/admin/threads.php
@@ -110,21 +110,6 @@
-
@@ -175,7 +160,7 @@
data = JSON.parse(data);
$('#info_threads').html(data.info_threads);
$('#info_threads_history').html(data.info_threads_history);
- $('#progress').html(data.progress);
+ //$('#progress').html(data.progress);
$('#memory').html(data.memory);
$('#threads_table').html(data.threads);
$('#threads_history_table').html(data.threads_history);
diff --git a/core/lib/Core/Helpers/Log.class.php b/core/lib/Core/Helpers/Log.class.php
index fc8018b..6b5e8a8 100644
--- a/core/lib/Core/Helpers/Log.class.php
+++ b/core/lib/Core/Helpers/Log.class.php
@@ -55,7 +55,7 @@
*/
public static function logToFile(
string $message,
- string $filename = '',
+ string $filename = 'core.log',
$content = null,
int $priority = LOG_DEBUG,
string $system = null,
diff --git a/core/lib/Core/MQTasks.class.php b/core/lib/Core/MQTasks.class.php
index 9a3b6e9..2c46a35 100644
--- a/core/lib/Core/MQTasks.class.php
+++ b/core/lib/Core/MQTasks.class.php
@@ -35,6 +35,11 @@
SystemFunctions::sendTelegram('test task was completed');
}
+ public static function testSleep(int $sec = 1) {
+ sleep($sec);
+ return 'sleep ' . $sec . ' sec.';
+ }
+
/**
* @throws CoreException
*/