add logs helper for debug

This commit is contained in:
Giuseppe Raffa
2026-04-14 10:06:25 +02:00
parent c2a5887b25
commit 4fb44cb9a7

View File

@@ -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'),