Merge remote-tracking branch 'origin/master'

This commit is contained in:
Samuele E. Locatelli
2018-10-26 08:48:14 +02:00
+8 -4
View File
@@ -249,8 +249,10 @@ namespace SteamWare
{
maxAge = confReadInt("maxAgeAppConf_min");
}
catch
{ }
catch (Exception exc)
{
logger.lg.scriviLog("Errore configDbVal: " + exc.ToString(), tipoLog.EXCEPTION);
}
// controllo SE è passato più di 5 minuti, nel caso faccio refresh...
if (DateTime.Now.Subtract(lastUpdateAppConf).TotalMinutes > maxAge)
{
@@ -304,8 +306,10 @@ namespace SteamWare
{
answ = Convert.ToInt32(configDbVal(chiave));
}
catch
{ }
catch (Exception exc)
{
logger.lg.scriviLog("errore in cdvi: " + exc.ToString(), tipoLog.EXCEPTION);
}
return answ;
}