diff --git a/src/scripts/publishUnsettledPnlUsers.ts b/src/scripts/publishUnsettledPnlUsers.ts index e68e59f..d1cac5a 100644 --- a/src/scripts/publishUnsettledPnlUsers.ts +++ b/src/scripts/publishUnsettledPnlUsers.ts @@ -54,6 +54,8 @@ const driftClient = new DriftClient({ }); const userMapRedisClient = new RedisClient({ + host: process.env.ELASTICACHE_USERMAP_HOST ?? process.env.ELASTICACHE_HOST, + port: process.env.ELASTICACHE_USERMAP_PORT ?? process.env.ELASTICACHE_PORT, prefix: RedisClientPrefix.USER_MAP, });