show the button stop and some fix (#4397)

This commit is contained in:
Aina Sitraka
2023-10-30 15:54:46 +03:00
committed by GitHub
parent fc3baaf368
commit a6c459c885
2 changed files with 5 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ class PSAdminController extends Controller
// guess if the q is "running" = check if there are pending message on Q or loop-Q
$running = false;
$qStatuses = $this->getAMQPConnection()->getQueuesStatus();
$qStatuses = $this->getAMQPConnection()->getQueuesStatus(false, false);
foreach([
MessagePublisher::PULL_ASSETS_TYPE,
$this->getAMQPConnection()->getLoopQueueName(MessagePublisher::PULL_ASSETS_TYPE)