Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to disable cache expiration #76

Closed
timlau opened this issue Nov 18, 2015 · 0 comments
Closed

option to disable cache expiration #76

timlau opened this issue Nov 18, 2015 · 0 comments
Milestone

Comments

@timlau
Copy link
Owner

timlau commented Nov 18, 2015

https://bugzilla.redhat.com/show_bug.cgi?id=1272495

yumex-dnf allows the user to configure expiration of cache after 1-240 hours. There should also be an option to disable yumex-dnf control of the cache, such as by allowing the user to enter -1.

dnf allows for more fine-grained control of cache expiration (e.g. different expiration settings per repository -- particularly relevant since the fedora non-updates repo never changes), and some users would prefer to leave the cache control to dnf.

Use case: I have things set up outside of yumex-dnf so that dnf always keeps its cache up-to-date, yet with the default yumex-dnf settings, virtually every time I open yumex-dnf, it redownloads the repo data. This is a big deal for me because on my connection it takes 5-10 minutes to download the repo data. I have finally set yumex-dnf to only expire the cache every 10 days (the maximum value allowed), but this is still sub-optimal because yumex-dnf should never need to expire the cache with my setup.

@timlau timlau added this to the 4.1.x milestone Nov 18, 2015
timlau pushed a commit that referenced this issue Nov 24, 2015
by setting refresh interval to 0.

(#76)
@timlau timlau modified the milestones: 4.2.0, 4.1.x Nov 24, 2015
@timlau timlau closed this as completed Nov 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant