This commit is contained in:
Eelco Dolstra 2019-08-29 12:09:58 +02:00
parent b6120d26a8
commit f27e53f77e
1 changed files with 2 additions and 2 deletions

View File

@ -920,11 +920,11 @@ void LocalStore::autoGC(bool sync)
promise.set_value();
});
printInfo("running auto-GC to free %d bytes", settings.maxFree - avail);
GCOptions options;
options.maxFreed = settings.maxFree - avail;
printInfo("running auto-GC to free %d bytes", options.maxFreed);
GCResults results;
collectGarbage(options, results);