From ef73478bc06a8248cf4fd4e7a0c6cabc136f87ff Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Sat, 13 Dec 2025 11:29:29 +0100 Subject: [PATCH] aggiunta metodo chiusura richieste (con tempistiche) --- Lux.API/Services/ExternalMessageProcessor.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Lux.API/Services/ExternalMessageProcessor.cs b/Lux.API/Services/ExternalMessageProcessor.cs index 458eaac0..2ba59755 100644 --- a/Lux.API/Services/ExternalMessageProcessor.cs +++ b/Lux.API/Services/ExternalMessageProcessor.cs @@ -18,12 +18,14 @@ namespace Lux.API.Services /// /// /// - 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"))