delete certs that have long expired (6 months)

fixes #783
This commit is contained in:
Girish Ramakrishnan
2021-05-18 13:28:48 -07:00
parent 76d0abae43
commit a5e34cf775
6 changed files with 46 additions and 8 deletions

View File

@@ -367,7 +367,7 @@ function renewCerts(options, auditSource, callback) {
assert.strictEqual(typeof auditSource, 'object');
assert.strictEqual(typeof callback, 'function');
tasks.add(tasks.TASK_RENEW_CERTS, [ options, auditSource ], function (error, taskId) {
tasks.add(tasks.TASK_CHECK_CERTS, [ options, auditSource ], function (error, taskId) {
if (error) return callback(error);
tasks.startTask(taskId, {}, NOOP_CALLBACK);