use different redis server for mq and cache

This commit is contained in:
Hongbo Wu
2024-01-25 17:20:26 +08:00
parent 4c765378e3
commit be0a2e8c52
4 changed files with 42 additions and 20 deletions

View File

@ -40,8 +40,8 @@ const main = async () => {
const port = process.env.PORT || 3002
redisDataSource.setOptions({
REDIS_URL: env.redis.url,
REDIS_CERT: env.redis.cert,
cache: env.redis.cache,
mq: env.redis.mq,
})
appDataSource.setOptions({