We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92aefaa commit b796fc3Copy full SHA for b796fc3
lib/autoPipelining.ts
@@ -147,9 +147,7 @@ export function executeWithAutoPipelining(
147
// ioredis will only flatten one level of the array, in the Command constructor.
148
const prefix = client.options.keyPrefix || "";
149
const slotKey = client.isCluster
150
- ? client.slots[
151
- calculateSlot(`${prefix}${getFirstValueInFlattenedArray(args)}`)
152
- ].join(",")
+ ? calculateSlot(`${prefix}${getFirstValueInFlattenedArray(args)}`)
153
: "main";
154
155
if (!client._autoPipelines.has(slotKey)) {
0 commit comments