ancora fix chiavi redis

This commit is contained in:
zaccaria.majid
2023-06-13 12:08:15 +02:00
parent c468d9d91f
commit 9522ddc08f
@@ -109,16 +109,16 @@ namespace WebDoorCreator.API.Controllers
var doors2Del = await WDService.DoorGet2Del();
if(doors2Del != null)
if (doors2Del != null)
{
foreach(var item in doors2Del)
foreach (var item in doors2Del)
{
//RedisValue pattern = new RedisValue($"{Core.Constants.rKeyDoor}:{item.DoorId}");
await WDService.FlushCustomPattern($"Cache:Door:{item.DoorId}");
await WDService.FlushCustomPattern($"CalcRequests:CacheDDF:{item.DoorId}");
await WDService.FlushCustomPattern($"CalcRequests:CacheDDF:{item.DoorId}");
await WDService.FlushCustomPattern($"CalcRequests:CacheDDF:{item.DoorId}");
await WDService.FlushCustomPattern($"CalcRequests:CacheSVG:{item.DoorId}");
await WDService.FlushCustomPattern($"CalcRequests:Errors:{item.DoorId}");
}
}