mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Add TODO
This commit is contained in:
@@ -724,6 +724,8 @@ export const pkiAcmeServiceFactory = ({
|
||||
return { certificateId: result.certificateId };
|
||||
} else {
|
||||
const { certificateAuthority } = (await certificateProfileDAL.findByIdWithConfigs(profileId, tx))!;
|
||||
// TODO: this is pretty slow, and we are holding the transaction open for a long time,
|
||||
// we should queue the certificate issuance to a background job instead
|
||||
const cert = await orderCertificate(
|
||||
{
|
||||
caId: certificateAuthority.id,
|
||||
|
||||
Reference in New Issue
Block a user