fix(oracle): corrigir persistência e carregamento do ranking

- Corrigir conexão Oracle com teste antes do pool
- Carregar ranking em batches de 10k (limite de 10k por query)
- Aumentar timeout de carregamento para 5 minutos
- Adicionar depends_on para Oracle no docker-compose
- Padronizar nome do container Oracle para oracle18c
This commit is contained in:
Frederico Castro
2025-12-15 07:40:05 -03:00
parent 3a0dd036f4
commit b44582653b
3 changed files with 30 additions and 24 deletions

View File

@@ -4,6 +4,9 @@ services:
build:
context: ./backend
dockerfile: Dockerfile
depends_on:
oracle18c:
condition: service_healthy
ports:
- "8010:8000"
env_file:
@@ -45,7 +48,7 @@ services:
restart: unless-stopped
oracle18c:
container_name: mqapilc_oracle18c
container_name: oracle18c
image: gvenzl/oracle-xe:18-slim
environment:
- ORACLE_PASSWORD=local123