From dec7273652a6c76bb180d20c519a6a8377e90764 Mon Sep 17 00:00:00 2001 From: Fang-Pen Lin Date: Tue, 4 Nov 2025 20:03:55 -0800 Subject: [PATCH] Code style --- backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts b/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts index b64c43393..a058241c4 100644 --- a/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts +++ b/backend/src/ee/services/pki-acme/pki-acme-challenge-service.ts @@ -69,7 +69,7 @@ export const pkiAcmeChallengeServiceFactory = ({ logger.info({ challengeUrl }, "Performing ACME HTTP-01 challenge validation"); try { // TODO: read config from the profile to get the timeout instead - const timeoutMs = 10000; // 10 seconds + const timeoutMs = 10 * 1000; // 10 seconds // Notice: well, we are in a transaction, ideally we should not hold transaction and perform // a long running operation for long time. But assuming we are not performing a tons of // challenge validation at the same time, it should be fine.