dnfjson: Adjust cache size info for new layout
The repo id hash directories are now down one level, below a directory named for the distribution.
This commit is contained in:
parent
3481e1d3ba
commit
8f20b550ea
3 changed files with 32 additions and 12 deletions
|
|
@ -48,7 +48,7 @@ type BaseSolver struct {
|
|||
// method.
|
||||
func NewBaseSolver(cacheDir string) *BaseSolver {
|
||||
return &BaseSolver{
|
||||
cache: newRPMCache(cacheDir, 524288000), // 500 MiB
|
||||
cache: newRPMCache(cacheDir, 1024*1024*1024), // 1 GiB
|
||||
dnfJsonCmd: []string{"/usr/libexec/osbuild-composer/dnf-json"},
|
||||
resultCache: NewDNFCache(60 * time.Second),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue