File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -619,13 +619,15 @@ export default class RedisClient<
619
619
return this . #isolationPool. use ( fn ) ;
620
620
}
621
621
622
- multi ( ) : RedisClientMultiCommandType < M , F , S > {
622
+ MULTI ( ) : RedisClientMultiCommandType < M , F , S > {
623
623
return new ( this as any ) . Multi (
624
624
this . multiExecutor . bind ( this ) ,
625
625
this . #options?. legacyMode
626
626
) ;
627
627
}
628
628
629
+ multi = this . MULTI ;
630
+
629
631
async multiExecutor (
630
632
commands : Array < RedisMultiQueuedCommand > ,
631
633
selectedDB ?: number ,
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ export default class RedisCluster<
224
224
}
225
225
}
226
226
227
- multi ( routing ?: RedisCommandArgument ) : RedisClusterMultiCommandType < M , F , S > {
227
+ MULTI ( routing ?: RedisCommandArgument ) : RedisClusterMultiCommandType < M , F , S > {
228
228
return new this . #Multi(
229
229
( commands : Array < RedisMultiQueuedCommand > , firstKey ?: RedisCommandArgument , chainId ?: symbol ) => {
230
230
return this . #execute(
@@ -237,6 +237,8 @@ export default class RedisCluster<
237
237
) ;
238
238
}
239
239
240
+ multi = this . MULTI ;
241
+
240
242
getMasters ( ) : Array < ClusterNode < M , F , S > > {
241
243
return this . #slots. getMasters ( ) ;
242
244
}
You can’t perform that action at this time.
0 commit comments