Skip to content

Commit 5f29f6b

Browse files
committed
Removes random delay when renewing certificates with the renew now button
1 parent d95cd36 commit 5f29f6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/internal/certificate.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,7 @@ const internalCertificate = {
973973
'--config "' + letsencryptConfig + '" ' +
974974
'--cert-name "npm-' + certificate.id + '" ' +
975975
'--preferred-challenges "dns,http" ' +
976+
'--no-random-sleep-on-renew ' +
976977
'--disable-hook-validation ' +
977978
(letsencryptStaging ? '--staging' : '');
978979

@@ -1000,7 +1001,8 @@ const internalCertificate = {
10001001

10011002
let mainCmd = certbotCommand + ' renew --non-interactive ' +
10021003
'--cert-name "npm-' + certificate.id + '" ' +
1003-
'--disable-hook-validation' +
1004+
'--disable-hook-validation ' +
1005+
'--no-random-sleep-on-renew ' +
10041006
(letsencryptStaging ? ' --staging' : '');
10051007

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

0 commit comments

Comments
 (0)