have historyKeeper remove files that are a day or more past their expiration time

This commit is contained in:
ansuz
2019-09-04 14:21:22 +02:00
parent 4902554a61
commit f8cd1dc266
2 changed files with 82 additions and 54 deletions

View File

@@ -321,7 +321,8 @@ var nt = nThen(function (w) {
tasks: config.tasks,
rpc: rpc,
store: config.store,
log: log
log: log,
retainData: Boolean(config.retainData),
};
historyKeeper = HK.create(hkConfig);
}).nThen(function () {