From 6c400332ff87b977ab6e505e8f55f4ce44c9f86b Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 12 Jun 2026 09:58:24 +0200 Subject: [PATCH] Modifica logica scadenza produzione ed ODL --- MP.Data/Services/IOC/IocService.cs | 7 ++++--- MP.IOC/MP.IOC.csproj | 2 +- MP.IOC/Resources/ChangeLog.html | 2 +- MP.IOC/Resources/VersNum.txt | 2 +- MP.IOC/Resources/manifest.xml | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/MP.Data/Services/IOC/IocService.cs b/MP.Data/Services/IOC/IocService.cs index 5acbe23a..6b5f94f1 100644 --- a/MP.Data/Services/IOC/IocService.cs +++ b/MP.Data/Services/IOC/IocService.cs @@ -99,7 +99,7 @@ namespace MP.Data.Services.IOC { return await GetCurrOdlByProdAsync(idxMacchina); }, - expiration: GetRandTOut(redisShortTimeCache), + expiration: GetRandTOut(redisLongTimeCache), tagList: ["IOC_CurrOdl", cKey, idxMacchina] ); @@ -292,7 +292,8 @@ namespace MP.Data.Services.IOC answ = currCount.ToString(); // salvo per meno tempo... await _redisDb.StringSetAsync(currKey, answ); - await ClearFusionCache(idxMacchina); + await ClearFusionCache("IOC_CurrOdl"); + //await ClearFusionCache(idxMacchina); } } } @@ -1103,7 +1104,7 @@ namespace MP.Data.Services.IOC #endif return await _repo.StatoProdMacchinaAsync(idxMacchina, dtReq); }, - expiration: GetRandTOut(redisShortTimeCache), + expiration: GetRandTOut(redisLongTimeCache), tagList: ["IOC_StatoProd", cKey, idxMacchina] ); } diff --git a/MP.IOC/MP.IOC.csproj b/MP.IOC/MP.IOC.csproj index a51454d0..db8ad9c7 100644 --- a/MP.IOC/MP.IOC.csproj +++ b/MP.IOC/MP.IOC.csproj @@ -4,7 +4,7 @@ net8.0 enable enable - 8.16.2606.1208 + 8.16.2606.1209 diff --git a/MP.IOC/Resources/ChangeLog.html b/MP.IOC/Resources/ChangeLog.html index 19d81522..06d421bc 100644 --- a/MP.IOC/Resources/ChangeLog.html +++ b/MP.IOC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MP-IOC -

Versione: 8.16.2606.1208

+

Versione: 8.16.2606.1209


Note di rilascio: