Start pulling cert at 15 days (due to cert update)

This commit is contained in:
Owen
2026-09-30 14:01:17 -04:00
parent a7420214d3
commit 8ff05c0ec3
+2 -2
View File
@@ -297,7 +297,7 @@ export class TraefikConfigManager {
const secondsUntilExpiry =
localState.expiresAt - nowInSeconds;
const daysUntilExpiry = secondsUntilExpiry / (60 * 60 * 24);
if (daysUntilExpiry < 45) {
if (daysUntilExpiry < 15) {
logger.info(
`Fetching certificates due to upcoming expiry for ${domain} (${Math.round(daysUntilExpiry)} days remaining)`
);
@@ -314,7 +314,7 @@ export class TraefikConfigManager {
const nowInSeconds = Math.floor(Date.now() / 1000);
const secondsUntilExpiry = state.expiresAt - nowInSeconds;
const daysUntilExpiry = secondsUntilExpiry / (60 * 60 * 24);
if (daysUntilExpiry < 45) {
if (daysUntilExpiry < 15) {
logger.info(
`Fetching certificates due to upcoming expiry for wildcard cert ${certDomain} (${Math.round(daysUntilExpiry)} days remaining)`
);