Skip to content

Commit

Permalink
Increase chance to 15% to renew cert
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez Baquero committed Oct 13, 2023
1 parent 1abeb67 commit 723bd00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/shim/src/modules/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async function checkCertValidity(certBuffer, registerOptions) {
NETWORK === "main" &&
cert.subjectAltName &&
!cert.subjectAltName.includes(".l1s.saturn.ms") &&
Math.random() < 10 / 100
Math.random() < 15 / 100
) {
debug("Certificate is missing <ip>.l1s.saturn.ms SAN, getting a new one...");
valid = false;
Expand Down

0 comments on commit 723bd00

Please sign in to comment.