mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 21:27:31 +00:00
Code style
This commit is contained in:
@@ -69,7 +69,7 @@ export const pkiAcmeChallengeServiceFactory = ({
|
|||||||
logger.info({ challengeUrl }, "Performing ACME HTTP-01 challenge validation");
|
logger.info({ challengeUrl }, "Performing ACME HTTP-01 challenge validation");
|
||||||
try {
|
try {
|
||||||
// TODO: read config from the profile to get the timeout instead
|
// 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
|
// 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
|
// 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.
|
// challenge validation at the same time, it should be fine.
|
||||||
|
|||||||
Reference in New Issue
Block a user