Fix logica setPzCounter per check pèresenza chiave redis
This commit is contained in:
@@ -3028,7 +3028,7 @@ namespace MP.IOC.Data
|
||||
{
|
||||
var currKey = Utils.RedKeyPzCount(idxMacchina, MpIoNS);
|
||||
RedisValue rawData = await redisDb.StringGetAsync(currKey);
|
||||
if (!rawData.HasValue)
|
||||
if (rawData.HasValue)
|
||||
{
|
||||
// salvo per + tempo...
|
||||
await redisDb.StringSetAsync(currKey, answ.ToString());
|
||||
|
||||
Reference in New Issue
Block a user