v2.1.6: update with new 30-21 day renewal defaults
This commit is contained in:
parent
65f0989b44
commit
14458181bf
4
index.js
4
index.js
|
@ -5,10 +5,10 @@ var HOUR = 60 * 60 * 1000;
|
||||||
var MIN = 60 * 1000;
|
var MIN = 60 * 1000;
|
||||||
var defaults = {
|
var defaults = {
|
||||||
// don't renew before the renewWithin period
|
// don't renew before the renewWithin period
|
||||||
renewWithin: 14 * DAY
|
renewWithin: 30 * DAY
|
||||||
, _renewWithinMin: 3 * DAY
|
, _renewWithinMin: 3 * DAY
|
||||||
// renew before the renewBy period
|
// renew before the renewBy period
|
||||||
, renewBy: 10 * DAY
|
, renewBy: 21 * DAY
|
||||||
, _renewByMin: Math.floor(DAY / 2)
|
, _renewByMin: Math.floor(DAY / 2)
|
||||||
// just to account for clock skew really
|
// just to account for clock skew really
|
||||||
, _dropDead: 5 * MIN
|
, _dropDead: 5 * MIN
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "le-sni-auto",
|
"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",
|
"description": "An auto-sni strategy for registering and renewing letsencrypt certificates using SNICallback",
|
||||||
"homepage": "https://git.coolaj86.com/coolaj86/le-sni-auto.js",
|
"homepage": "https://git.coolaj86.com/coolaj86/le-sni-auto.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|
Loading…
Reference in New Issue