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