misc: added pg queue init flag

This commit is contained in:
Sheen Capadngan
2024-12-05 15:52:17 +08:00
parent 095b26c8c9
commit 0a1242db75
3 changed files with 95 additions and 87 deletions
+2 -1
View File
@@ -180,7 +180,8 @@ const envSchema = z
HSM_KEY_LABEL: zpStr(z.string().optional()),
HSM_SLOT: z.coerce.number().optional().default(0),
USE_PG_QUEUE: zodStrBool.default("false")
USE_PG_QUEUE: zodStrBool.default("false"),
SHOULD_INIT_PG_QUEUE: zodStrBool.default("false")
})
// To ensure that basic encryption is always possible.
.refine(