This commit is contained in:
MarcEricMartel
2022-10-27 11:32:06 -07:00
parent 83331a4a08
commit f3dcc0c4d8
2 changed files with 25 additions and 40 deletions

View File

@@ -25,9 +25,11 @@ namespace GrossesMitainesAPI.Services {
if (_needUpd) {
_ok = UpdateCache();
_needUpd = !_ok;
}
if (_hits.Count > 0 && _ok)
}
if (_hits.Count > 0 && _ok) {
UpdateMetrics();
//_needUpd = true;
}
}
}
private bool UpdateCache() {