This commit is contained in:
Samuele Locatelli
2026-04-18 10:19:39 +02:00
+2 -13
View File
@@ -3531,18 +3531,7 @@ namespace MP.IOC.Data
public string RedisGetHashField(RedisKey key, string hashField)
{
string result = "";
try
{
RedisValue hashField2 = hashField;
result = redisDb.HashGet(key, hashField2).ToString();
}
catch (Exception exc)
{
Log.Error($"Errore in RedisGetHashField{Environment.NewLine}{exc}");
}
return result;
return redisDb.HashGet(key, hashField).ToString();
}
public bool RedisKeyPresent(RedisKey key)
@@ -4963,7 +4952,7 @@ namespace MP.IOC.Data
{
var currHash = Utils.RedKeyDatiMacc(idxMacc, MpIoNS);
// inizio con un bel reset...
RedisFlushPattern($"{currHash}");
await RedisFlushPatternAsync(currHash);
Dictionary<string, string>? result = new Dictionary<string, string>();
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();