reduce dlob publisher health check grace period, clean up logs

This commit is contained in:
wphan
2024-11-27 11:00:34 -08:00
parent cc4adfa061
commit fa8fd24fd4
5 changed files with 16 additions and 15 deletions

View File

@@ -45,7 +45,9 @@ const clients = process.env.REDIS_CLIENT?.trim()
clients?.forEach((client) => envClients.push(RedisClientPrefix[client]));
const REDIS_CLIENTS = envClients.length ? envClients : [RedisClientPrefix.DLOB, RedisClientPrefix.DLOB_HELIUS];
const REDIS_CLIENTS = envClients.length
? envClients
: [RedisClientPrefix.DLOB, RedisClientPrefix.DLOB_HELIUS];
console.log('Redis Clients:', REDIS_CLIENTS);
const driftEnv = (process.env.ENV || 'devnet') as DriftEnv;