mirror of
https://github.com/overte-org/overte.git
synced 2025-08-15 15:40:27 +02:00
fix cache http request count in stats
This commit is contained in:
parent
fefb34512d
commit
c671817fa3
1 changed files with 1 additions and 1 deletions
|
@ -1371,7 +1371,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
|
||||
QJsonObject cacheRequests;
|
||||
cacheRequests["atp"] = statTracker->getStat(STAT_ATP_REQUEST_CACHE).toInt();
|
||||
cacheRequests["http"] = statTracker->getStat(STAT_HTTP_REQUEST_FAILED).toInt();
|
||||
cacheRequests["http"] = statTracker->getStat(STAT_HTTP_REQUEST_CACHE).toInt();
|
||||
cacheRequests["total"] = cacheRequests["atp"].toInt() + cacheRequests["http"].toInt();
|
||||
properties["cache_requests"] = cacheRequests;
|
||||
|
||||
|
|
Loading…
Reference in a new issue