This commit is contained in:
Boki 2025-06-25 11:38:23 -04:00
parent 3a7254708e
commit b63e58784c
41 changed files with 5762 additions and 4477 deletions

View file

@ -7,10 +7,12 @@ export function getRedisConnection(config: RedisConfig) {
const isTest = process.env.NODE_ENV === 'test' || process.env['BUNIT'] === '1';
// In test mode, always use localhost
const testConfig = isTest ? {
host: 'localhost',
port: 6379,
} : config;
const testConfig = isTest
? {
host: 'localhost',
port: 6379,
}
: config;
const baseConfig = {
host: testConfig.host,