cmc__async_ensure_cache {pkgcache} | R Documentation |
Load the cache, asynchronously, with as little work as possible
Description
If it is already loaded, and fresh return it.
Otherwise try the replica RDS.
Otherwise try the primary RDS.
Otherwise try the primary PACKAGES files.
Otherwise update the replica PACKAGES files, the replica RDS, and then also the primary PACKAGES and RDS.
Usage
cmc__async_ensure_cache(self, private, max_age)
Arguments
self |
self |
private |
private self |
max_age |
Maximum age allowed to consider the data current. |
Value
Metadata.
[Package pkgcache version 2.2.4 Index]