Skip to content

Commit

Permalink
[HF] Improvement du consume de jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume DUBOST committed Jun 25, 2019
1 parent 7ceda26 commit 91b66bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RabbitContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public function jeTraiteJobsAvecLeConsumer($nb_jobs, $consumer)
$consumer = $this->getContainer()->get("old_sound_rabbit_mq.{$consumer}_consumer");

$consumer->consume($nb_jobs);
$consumer->resetConsumed();
$consumer->getChannel()->close();
}

Expand Down

0 comments on commit 91b66bb

Please sign in to comment.