Skip to content

Commit a517e80

Browse files
authored
Merge pull request #1567 from jc21/removes-renew-delay
Removes random delay when renewing certificates with the renew now button
2 parents 3d4d3bc + 5f29f6b commit a517e80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/internal/certificate.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,7 @@ const internalCertificate = {
974974
'--config "' + letsencryptConfig + '" ' +
975975
'--cert-name "npm-' + certificate.id + '" ' +
976976
'--preferred-challenges "dns,http" ' +
977+
'--no-random-sleep-on-renew ' +
977978
'--disable-hook-validation ' +
978979
(letsencryptStaging ? '--staging' : '');
979980

@@ -1002,7 +1003,8 @@ const internalCertificate = {
10021003
let mainCmd = certbotCommand + ' renew ' +
10031004
'--config "' + letsencryptConfig + '" ' +
10041005
'--cert-name "npm-' + certificate.id + '" ' +
1005-
'--disable-hook-validation' +
1006+
'--disable-hook-validation ' +
1007+
'--no-random-sleep-on-renew ' +
10061008
(letsencryptStaging ? ' --staging' : '');
10071009

10081010
// Prepend the path to the credentials file as an environment variable

0 commit comments

Comments
 (0)