pkgdb: flush uncompressed pkgdb for performance reasons.
This commit is contained in:
parent
3222fce866
commit
092be04783
@ -91,7 +91,7 @@ xbps_pkgdb_update(struct xbps_handle *xhp, bool flush)
|
|||||||
|
|
||||||
if (xhp->pkgdb && flush) {
|
if (xhp->pkgdb && flush) {
|
||||||
/* flush dictionary to storage */
|
/* flush dictionary to storage */
|
||||||
if (!prop_array_externalize_to_zfile(xhp->pkgdb, plist)) {
|
if (!prop_array_externalize_to_file(xhp->pkgdb, plist)) {
|
||||||
free(plist);
|
free(plist);
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user