From 5e2eedef205ac2630529bc53ecbbaebb3bc08f21 Mon Sep 17 00:00:00 2001 From: Guillaume DUBOST Date: Tue, 25 Jun 2019 17:37:33 +0200 Subject: [PATCH] [HF] Improvement du consume de jobs --- src/RabbitContext.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/RabbitContext.php b/src/RabbitContext.php index f9c8c29..2c7f264 100644 --- a/src/RabbitContext.php +++ b/src/RabbitContext.php @@ -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(); } /**