Skip to content

Commit

Permalink
Update comment to reflect the code (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
np authored and vdemeester committed Jan 31, 2017
1 parent 2b00cdf commit 0247332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (dc *DomainsCertificate) needRenew() bool {
// If there's an error, we assume the cert is broken, and needs update
return true
}
// <= 7 days left, renew certificate
// <= 30 days left, renew certificate
if crt.NotAfter.Before(time.Now().Add(time.Duration(24 * 30 * time.Hour))) {
return true
}
Expand Down

0 comments on commit 0247332

Please sign in to comment.