mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-08 00:39:54 +00:00
Add: Link releases and images cache retention to cache (closes #227)
This commit is contained in:
parent
8ae6590a6a
commit
8def0d0898
@ -61,9 +61,9 @@ object Cache {
|
|||||||
thread {
|
thread {
|
||||||
cleanup(
|
cleanup(
|
||||||
context,
|
context,
|
||||||
Pair("images", 0),
|
Pair("images", Preferences[Preferences.Key.ImagesCacheRetention]),
|
||||||
Pair("partial", 24),
|
Pair("partial", 24),
|
||||||
Pair("releases", 24),
|
Pair("releases", Preferences[Preferences.Key.ReleasesCacheRetention]),
|
||||||
Pair("temporary", 1)
|
Pair("temporary", 1)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user