Skip to content

Commit 3d0ab46

Browse files
authored
Merge pull request #3 from johannessteu/queue-name
TASK: Show queue name when jobs are created
2 parents d6122fe + ae0ae1b commit 3d0ab46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Classes/Flowpack/ElasticSearch/ContentRepositoryQueueIndexer/Command/NodeIndexQueueCommandController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ public function buildCommand($workspace = NULL) {
9292
$this->indexWorkspace($workspace, $indexPostfix);
9393
}
9494
$updateAliasJob = new UpdateAliasJob($indexPostfix);
95-
$this->jobManager->queue('Flowpack.ElasticSearch.ContentRepositoryQueueIndexer', $updateAliasJob);
95+
$queueName = 'Flowpack.ElasticSearch.ContentRepositoryQueueIndexer';
96+
$this->jobManager->queue($queueName, $updateAliasJob);
9697

9798
$this->outputLine();
98-
$this->outputLine('Indexing jobs created with success ...');
99+
$this->outputLine(sprintf('Indexing jobs created for queue %s with success ...', $queueName));
99100
}
100101

101102
/**

0 commit comments

Comments
 (0)