Update display avanzamento freeze day
This commit is contained in:
@@ -1195,14 +1195,16 @@ namespace MP.Data.Services
|
||||
public async Task<bool> InsManFreezeDay(string idxMacchina, DateTime dtCurr)
|
||||
{
|
||||
bool fatto = false;
|
||||
Stopwatch sw = new Stopwatch();
|
||||
sw.Start();
|
||||
Log.Info($"Inizio InsManFreezeDay | idxMacchina: {idxMacchina}");
|
||||
// salvo
|
||||
fatto = dbTabController.InsManFreezeDay(idxMacchina, dtCurr);
|
||||
Log.Info($"Fine stored | idxMacchina: {idxMacchina}");
|
||||
fatto = await dbTabController.InsManFreezeDay(idxMacchina, dtCurr);
|
||||
// svuoto cache
|
||||
RedisValue pattern = $"{redisBaseKey}:InsMan:*";
|
||||
await ExecFlushRedisPatternAsync(pattern);
|
||||
Log.Info($"Fine InsManFreezeDay | idxMacchina: {idxMacchina}");
|
||||
sw.Stop();
|
||||
Log.Info($"Fine InsManFreezeDay | idxMacchina: {idxMacchina} | elapsed: {sw.Elapsed.TotalMilliseconds:N2} ms");
|
||||
return fatto;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user