Skip to content

Commit

Permalink
Merge pull request #45 from gdubost/v2
Browse files Browse the repository at this point in the history
[HF] Improvement du consume de jobs
  • Loading branch information
Kumatetsu authored Jun 25, 2019
2 parents ebc3e2a + 5e2eede commit d126509
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 @@ -145,6 +145,7 @@ public function jeTraiteJobsAvecLeConsumer($nb_jobs, $consumer)
}

self::$silex_app['rabbit.consumer'][$consumer]->consume($nb_jobs);
self::$silex_app['rabbit.consumer'][$consumer]->resetConsumed();
}

/**
Expand Down

0 comments on commit d126509

Please sign in to comment.