12/06
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user