aggiunta metodo chiusura richieste (con tempistiche)

This commit is contained in:
Samuele Locatelli
2025-12-13 11:29:29 +01:00
parent e9096ebb97
commit ef73478bc0
+6 -1
View File
@@ -18,12 +18,14 @@ namespace Lux.API.Services
/// </summary>
/// <param name="imgService"></param>
/// <param name="dlService"></param>
public ExternalMessageProcessor(ImageCacheService imgService, DataLayerServices dlService)
public ExternalMessageProcessor(ImageCacheService imgService, DataLayerServices dlService, CalcRuidService crService)
{
cacheService = imgService;
dbService = dlService;
_calcRuidService = crService;
}
private readonly CalcRuidService _calcRuidService;
#endregion Public Constructors
#region Public Methods
@@ -97,6 +99,9 @@ namespace Lux.API.Services
* Richieste "continue" di stato/update
* ----------------------------------------*/
string UID = retData.Args["UID"];
string RUID = retData.Args["RUID"];
// salvo SUBITO chiusura statistiche...
await _calcRuidService.CompleteRequestAsync(RUID);
// gestione ritorno preview SVG
if (retData.Args.ContainsKey("Svg"))