feat: add end-to-end observability (metrics, health, mobile RUM, dashboards, alerts) #32
@@ -46,8 +46,6 @@ redisClient.setEx = async (...args) => {
|
||||
}
|
||||
};
|
||||
|
||||
// Connect to Redis
|
||||
await redisClient.connect();
|
||||
// Connect to Redis — skip in test (services are mocked) or when REDIS_URL is unset
|
||||
if (process.env.NODE_ENV !== 'test') {
|
||||
await redisClient.connect();
|
||||
|
||||
Reference in New Issue
Block a user