[*] mq мелкие правки диспетчера очереди
This commit is contained in:
1 parent
bb78d6cfc8
commit
786da9911c
2 files changed
+6
-4
No files matched your search
+2
-2
@@ -12,9 +12,9 @@
|
||||
<div class="media-body">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
|
||||
<li>Список пользователей</li>
|
||||
<li>Диспетчер очереди</li>
|
||||
</ul>
|
||||
<h4>Список пользователей</h4>
|
||||
<h4>Диспетчер очереди</h4>
|
||||
</div>
|
||||
</div><!-- media -->
|
||||
</div><!-- pageheader -->
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
/**
|
||||
* Лимит количества одновременно выполняемых задач
|
||||
*/
|
||||
const WORKERS_LIMIT = 5;
|
||||
const WORKERS_LIMIT = 10;
|
||||
|
||||
/**
|
||||
* @var DB|null $DB Объект базы
|
||||
@@ -69,10 +69,12 @@
|
||||
/**
|
||||
* Тестовая функция 2
|
||||
*
|
||||
* @param mixed ...$params
|
||||
*
|
||||
* @return string
|
||||
* @throws CoreException
|
||||
*/
|
||||
public static function test2(): string
|
||||
public static function test2(...$params): string
|
||||
{
|
||||
sleep(rand(10, 30));
|
||||
$result = rand(0, 100);
|
||||
|
||||
Reference in new issue
Block a user