History

fix cache http request count in stats

Stephen Birarda committed 9 years ago

Commit c6718171 parent fefb3451 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -1371,7 +1371,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1370 unmodified lines
1371 1371
1372 QJsonObject cacheRequests;1372 QJsonObject cacheRequests;
1373 cacheRequests["atp"] = statTracker->getStat(STAT_ATP_REQUEST_CACHE).toInt();1373 cacheRequests["atp"] = statTracker->getStat(STAT_ATP_REQUEST_CACHE).toInt();
1374 cacheRequests["http"] = statTracker->getStat(STAT_HTTP_REQUEST_FAILED).toInt();1374 cacheRequests["http"] = statTracker->getStat(STAT_HTTP_REQUEST_CACHE).toInt();
1375 cacheRequests["total"] = cacheRequests["atp"].toInt() + cacheRequests["http"].toInt();1375 cacheRequests["total"] = cacheRequests["atp"].toInt() + cacheRequests["http"].toInt();
1376 properties["cache_requests"] = cacheRequests;1376 properties["cache_requests"] = cacheRequests;
1377 1377