mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Cleanup
This commit is contained in:
parent
b6120d26a8
commit
f27e53f77e
1 changed files with 2 additions and 2 deletions
|
@ -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