Fix call of at_concurrent_component_threshold in producer

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi
2019-11-13 11:28:32 +08:00
parent b7571c6ba0
commit fb0cd95427

View File

@@ -271,7 +271,7 @@ class MBSProducer(PollingProducer):
module_build_service.scheduler.consumer.work_queue_put(event)
# Check if we have met the threshold.
if module_build_service.utils.at_concurrent_component_threshold(config, db_session):
if module_build_service.utils.at_concurrent_component_threshold(config):
break
def retrigger_new_repo_on_failure(self, config):