feat(server/email verification): configurable timeout (#5061)

This commit is contained in:
Iain Sproat
2025-07-14 08:56:27 +01:00
committed by GitHub
parent 83079caff6
commit 2bbfb8cede
6 changed files with 27 additions and 3 deletions
@@ -512,3 +512,7 @@ export const getFileUploadUrlExpiryMinutes = (): number => {
export const getPreviewServiceTimeoutMilliseconds = (): number => {
return getIntFromEnv('PREVIEW_SERVICE_TIMEOUT_MILLISECONDS', '3600000') // 1 hour
}
export const emailVerificationTimeoutMinutes = (): number => {
return getIntFromEnv('EMAIL_VERIFICATION_TIMEOUT_MINUTES', '5')
}