Compare commits

..

2 Commits

Author SHA1 Message Date
2a293c77a3 Merge branch 'main' of https://gitea.tecnosis.net/ASEGASA/Asegasa.NET 2026-06-12 09:59:09 +02:00
ae67d8e221 12/06 2026-06-12 09:59:01 +02:00
4 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -3,7 +3,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<Copyright>© 2026 Tecnosis S.A.</Copyright> <Copyright>© 2026 Tecnosis S.A.</Copyright>
<AssemblyVersion>1.2.0.0</AssemblyVersion> <AssemblyVersion>1.5.0.0</AssemblyVersion>
<PackageReleaseNotes> <PackageReleaseNotes>
- 2026-05-12 1.2.0.0 Correccion tsUtilidades - 2026-05-12 1.2.0.0 Correccion tsUtilidades
- 2026-05-12 1.1.0.0 Se añade rutina diaria FinalizaPolizasPagoUnicoVencidas - 2026-05-12 1.1.0.0 Se añade rutina diaria FinalizaPolizasPagoUnicoVencidas

View File

@@ -3,7 +3,7 @@
"Configuracion": { "Configuracion": {
"SegundosMinimosEntreProcesos": "60", "SegundosMinimosEntreProcesos": "60",
"HoraProcesosDiarios": "06:30", "HoraProcesosDiarios": "06:30",
"NombreConexionBD": "Producción Remoto" "NombreConexionBD": "Producción Remoto"
}, },
"TsNotificaciones": { "TsNotificaciones": {
//"ApiUrl": "http://192.168.41.32:5000/", prod //"ApiUrl": "http://192.168.41.32:5000/", prod

View File

@@ -43,7 +43,7 @@ namespace bdAsegasa.dbcontext
string servidor = ""; string servidor = "";
if (Directory.("c:\\tecnosis.tfs")) { if (Directory.Exists(@"c:\tecnosis.git")) {
servidor = "sevilla.asegasa.com"; servidor = "sevilla.asegasa.com";
} }
//if (Environment.MachineName.ToUpper() == "VISDIG1") //if (Environment.MachineName.ToUpper() == "VISDIG1")