Skip to content

Commit f288f8a

Browse files
logaretmcodex
andcommitted
fix(node): remove stale redis batch generic
Co-Authored-By: GPT-5 Codex <codex@openai.com>
1 parent c0ec7d3 commit f288f8a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/node/src/integrations/tracing/redis/redis-dc-subscriber.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ export function subscribeRedisDiagnosticChannels(responseHook?: IORedisInstrumen
8787

8888
try {
8989
setupCommandChannel<RedisCommandData>(CHANNEL_REDIS_COMMAND, data => data.args.slice(1));
90-
setupBatchChannel<RedisBatchData>(CHANNEL_REDIS_BATCH, data =>
91-
data.batchMode === 'PIPELINE' ? 'PIPELINE' : 'MULTI',
92-
);
90+
setupBatchChannel(CHANNEL_REDIS_BATCH, data => (data.batchMode === 'PIPELINE' ? 'PIPELINE' : 'MULTI'));
9391
setupConnectChannel(CHANNEL_REDIS_CONNECT);
9492
setupCommandChannel<IORedisCommandData>(CHANNEL_IOREDIS_COMMAND, data => data.args);
9593
setupConnectChannel(CHANNEL_IOREDIS_CONNECT);

0 commit comments

Comments
 (0)