pk: Set cache-age hint in the RefreshCache transaction
The dnf backend implements the cache-age hint. For RefreshCache to do anything, we need to change the cache-age from the default - MAX_UINT32 - to a low amount. Here we set the cache-age to 5 minutes meaning that the backend will redownload the caches if they are more than 5 minutes old.
Please register or sign in to comment