Skip to content
Commit 25f1c161 authored by Alessandro Astone's avatar Alessandro Astone
Browse files

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.
parent c03519ec
Pipeline #491425 failed with stage
in 26 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment