Don't continue to refresh level 2 data if no data is present

This commit is contained in:
Dan Paulat 2022-05-30 10:55:52 -05:00
parent 70b8f78eb5
commit 5cfab59977
4 changed files with 21 additions and 10 deletions

View file

@ -84,9 +84,11 @@ public:
* no objects have been added to the cache for the current date, the previous
* date is also queried for data.
*
* @return New objects found
* @return - New objects found
* - Total objects found
*/
virtual size_t Refresh() = 0;
virtual std::pair<size_t, size_t> Refresh() = 0;
/**
* Convert the object key to a time point.