add logs helper for debug
This commit is contained in:
@@ -44,6 +44,7 @@ function notifyDeployListeners(deployId, message, stream) {
|
||||
export async function initQueue() {
|
||||
// Parse Redis URL
|
||||
const redisUrl = new URL(config.redisUrl);
|
||||
console.log(`[QUEUE] Redis parsed - host: ${redisUrl.hostname}, port: ${redisUrl.port}, password: ${redisUrl.password ? '***' : '(none)'}, db: ${redisUrl.pathname}`);
|
||||
connection = new IORedis({
|
||||
host: redisUrl.hostname,
|
||||
port: parseInt(redisUrl.port || '6379'),
|
||||
|
||||
Reference in New Issue
Block a user