fix: bypass do ssl no program.cs para o opensearch
All checks were successful
BCards Deployment Pipeline / Run Tests (push) Successful in 2s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 14m52s
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Successful in 1m31s
BCards Deployment Pipeline / Deploy to Staging (x86 - Local) (push) Has been skipped
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s

This commit is contained in:
Ricardo Carneiro 2025-09-08 18:33:31 -03:00
parent 56454bec90
commit c825fa2736

View File

@ -164,7 +164,8 @@ else
// 🔥 SEM AUTENTICAÇÃO EM PRODUÇÃO TAMBÉM
ModifyConnectionSettings = conn => conn
.RequestTimeout(TimeSpan.FromSeconds(30))
.PingTimeout(TimeSpan.FromSeconds(10)),
.PingTimeout(TimeSpan.FromSeconds(10))
.ServerCertificateValidationCallback((o, certificate, chain, errors) => true),
MinimumLogEventLevel = LogEventLevel.Information,
EmitEventFailure = EmitEventFailureHandling.WriteToSelfLog,
RegisterTemplateFailure = RegisterTemplateRecovery.IndexAnyway,