JobIntegracaoLeanSaida.ProcessarFinalizacoesPendentes

// Id: #9763527
using Inpart.Integracao.GerenciadorJobs.Services;

var jobIntegracaoLeanSaida = Activate<JobIntegracaoLeanSaida>();
await jobIntegracaoLeanSaida.ProcessarFinalizacoesPendentes();

Parameters

CurrentCulture
""
RecurringJobId
"lean-finalizacao-cotacoes-opme"
Time
1789186910

State

09/12/2026 04:26:12 (+2m 1.020s) Failed

An exception occurred during performance of the job.

System.InvalidOperationException (85fb41618977.staging:1)

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

System.InvalidOperationException: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.
   at Microsoft.Data.Common.ADP.ExceptionWithStackTrace(Exception e)
--- End of stack trace from previous location ---
   at Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType, CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 433
   at Inpart.Integracao.Lean.Persistencia.LeanCotacaoRepository.BuscarSaidasPendentesAsync(CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Services.IntegracaoLeanService.ProcessarFinalizacoesPendentesAsync(CancellationToken cancellationToken)
   at Inpart.Integracao.Lean.Services.IntegracaoLeanService.ProcessarFinalizacoesPendentesAsync(CancellationToken cancellationToken)
   at InvokeStub_TaskAwaiter`1.GetResult(Object, Object, IntPtr*)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

+2m 18.987s Processing

Server:
85fb41618977.staging:1
Worker:
147338af

+43ms Enqueued

Triggered by recurring job scheduler

Queue:
lean-jobs

09/12/2026 04:21:52 Created