Evita buscar PPG no job principal para acelerar carga
This commit is contained in:
@@ -22,7 +22,8 @@ class ProcessarRankingJob:
|
||||
self.oracle_remote_client = oracle_remote_client
|
||||
self.oracle_local_client = oracle_local_client
|
||||
self.ranking_repo = ranking_repo
|
||||
self.consultor_repo = ConsultorRepositoryImpl(es_client, oracle_remote_client)
|
||||
# Para acelerar a carga principal, não buscamos PPG aqui (Componente B vem depois)
|
||||
self.consultor_repo = ConsultorRepositoryImpl(es_client, oracle_client=None)
|
||||
self.calculador = CalculadorPontuacao()
|
||||
|
||||
async def executar(self, limpar_antes: bool = True) -> Dict[str, Any]:
|
||||
|
||||
Reference in New Issue
Block a user