forked from lix-project/lix
Cleanup
This commit is contained in:
parent
b6120d26a8
commit
f27e53f77e
|
@ -920,11 +920,11 @@ void LocalStore::autoGC(bool sync)
|
||||||
promise.set_value();
|
promise.set_value();
|
||||||
});
|
});
|
||||||
|
|
||||||
printInfo("running auto-GC to free %d bytes", settings.maxFree - avail);
|
|
||||||
|
|
||||||
GCOptions options;
|
GCOptions options;
|
||||||
options.maxFreed = settings.maxFree - avail;
|
options.maxFreed = settings.maxFree - avail;
|
||||||
|
|
||||||
|
printInfo("running auto-GC to free %d bytes", options.maxFreed);
|
||||||
|
|
||||||
GCResults results;
|
GCResults results;
|
||||||
|
|
||||||
collectGarbage(options, results);
|
collectGarbage(options, results);
|
||||||
|
|
Loading…
Reference in a new issue