This commit is contained in:
2026-06-12 09:59:01 +02:00
parent c204abdd4c
commit ae67d8e221
4 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ namespace Servicio_Gestion_Asegasa.Procesos
var mensajespendientes = de.mensajes
.Where(m => m.FechaEnvio == null && m.FechaAnulacion == null)
.OrderBy(m => m.FechaUltimoIntento)
.Take(50)
.Take(3000)
.ToList();
bool bIntentar;
@@ -52,7 +52,7 @@ namespace Servicio_Gestion_Asegasa.Procesos
try
{
bAlmacenar = true;
if ((DateTime.Now - mensaje.FechaCreacion.Value).TotalHours > 10)
if ((DateTime.Now - mensaje.FechaCreacion.Value).TotalHours > 192)
{
throw new Exception("MENSAJE_ANTIGUO");
}