Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[debug] log start times of cache populating queries
  • Loading branch information
amtep committed Dec 1, 2014
1 parent 9ed3c64 commit be2e8f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/seasidecache.cpp
Expand Up @@ -1420,6 +1420,7 @@ void SeasideCache::startRequest(bool *idleProcessing)
m_fetchRequest.setFilter(favoriteFilter());
m_fetchRequest.setFetchHint(favoriteFetchHint(m_fetchTypes));
m_fetchRequest.setSorting(m_sortOrder);
qDebug() << "Starting favorites query at" << m_timer.elapsed() << "ms";
m_fetchRequest.start();

m_fetchProcessedCount = 0;
Expand Down Expand Up @@ -1464,6 +1465,7 @@ void SeasideCache::startRequest(bool *idleProcessing)
m_fetchRequest.setFilter(allFilter());
m_fetchRequest.setFetchHint(metadataFetchHint(m_fetchTypes));
m_fetchRequest.setSorting(m_sortOrder);
qDebug() << "Starting metadata query at" << m_timer.elapsed() << "ms";
m_fetchRequest.start();

m_fetchProcessedCount = 0;
Expand All @@ -1473,6 +1475,7 @@ void SeasideCache::startRequest(bool *idleProcessing)
m_fetchRequest.setFilter(onlineFilter());
m_fetchRequest.setFetchHint(onlineFetchHint(m_fetchTypes | SeasideCache::FetchAccountUri));
m_fetchRequest.setSorting(m_onlineSortOrder);
qDebug() << "Starting online query at" << m_timer.elapsed() << "ms";
m_fetchRequest.start();

m_fetchProcessedCount = 0;
Expand Down

0 comments on commit be2e8f4

Please sign in to comment.