misc: add ssl setting for pg boss

This commit is contained in:
Sheen Capadngan
2024-12-09 13:17:04 +08:00
parent 3c588beebe
commit 3f6b1fe3bd
3 changed files with 17 additions and 4 deletions
+5 -1
View File
@@ -57,7 +57,11 @@ const run = async () => {
const smtp = smtpServiceFactory(formatSmtpConfig());
const queue = queueServiceFactory(appCfg.REDIS_URL, appCfg.DB_CONNECTION_URI);
const queue = queueServiceFactory(appCfg.REDIS_URL, {
dbConnectionUrl: appCfg.DB_CONNECTION_URI,
dbRootCert: appCfg.DB_ROOT_CERT
});
await queue.initialize();
const keyStore = keyStoreFactory(appCfg.REDIS_URL);