Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user