Forza svuotamento cache dopo update componenti

This commit is contained in:
Samuele Locatelli
2024-06-20 12:02:43 +02:00
parent b02b9ccbf7
commit 99ee856340
@@ -1,3 +1,4 @@
using k8s.Models;
using Microsoft.AspNetCore.Components;
using NLog;
using WebDoorCreator.Data.DbModels;
@@ -262,6 +263,10 @@ namespace WebDoorCreator.UI.Components.FilesMan
});
await updTask2;
Log.Info($"DB Updated for Compo changes!");
sendDataVal = 45;
// svuoto cache!
await WDCService.FlushCustomPattern("Cache");
sendDataVal = 50;
await doScan(true, true);
sendDataVal = 90;
}