From 14458181bf07ad8429e961e92561396e23f41196 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 10 Nov 2018 02:46:58 -0700 Subject: [PATCH] v2.1.6: update with new 30-21 day renewal defaults --- index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 68ac71f..3fc0c1a 100644 --- a/index.js +++ b/index.js @@ -5,10 +5,10 @@ var HOUR = 60 * 60 * 1000; var MIN = 60 * 1000; var defaults = { // don't renew before the renewWithin period - renewWithin: 14 * DAY + renewWithin: 30 * DAY , _renewWithinMin: 3 * DAY // renew before the renewBy period -, renewBy: 10 * DAY +, renewBy: 21 * DAY , _renewByMin: Math.floor(DAY / 2) // just to account for clock skew really , _dropDead: 5 * MIN diff --git a/package.json b/package.json index 707246d..4ae50da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "le-sni-auto", - "version": "2.1.5", + "version": "2.1.6", "description": "An auto-sni strategy for registering and renewing letsencrypt certificates using SNICallback", "homepage": "https://git.coolaj86.com/coolaj86/le-sni-auto.js", "main": "index.js",