misc: add flag for disabling workers

This commit is contained in:
Sheen Capadngan
2025-03-21 03:46:17 +08:00
parent 3a2e8939b1
commit 32521523c1
2 changed files with 13 additions and 4 deletions
+1
View File
@@ -56,6 +56,7 @@ const envSchema = z
// TODO(akhilmhdh): will be changed to one
ENCRYPTION_KEY: zpStr(z.string().optional()),
ROOT_ENCRYPTION_KEY: zpStr(z.string().optional()),
QUEUE_WORKERS_ENABLED: zodStrBool.default("true"),
HTTPS_ENABLED: zodStrBool,
// smtp options
SMTP_HOST: zpStr(z.string().optional()),