[*] small fix
This commit is contained in:
1 parent
74b0b617a8
commit
913f51ddd1
3 files changed
+7
-17
No files matched your search
+1
-16
@@ -110,21 +110,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">Текущая нагрузка на диспетчер очереди</h4>
|
||||
<p>Чем больше количество активных воркеров - тем больше нагрузка</p>
|
||||
</div><!-- panel-heading -->
|
||||
<div class="panel-body" id="progress">
|
||||
<div class="preloader"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- table -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user