Skip to content

Commit c6e71ff

Browse files
committed
fix(pool): make createClientPool use provided options
fixes: #3094
1 parent adb19c5 commit c6e71ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/redis/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function createClientPool<
7272
>(clientOptions?: Omit<RedisClientOptions<M, F, S, RESP, TYPE_MAPPING>, "clientSideCache">,
7373
options?: Partial<RedisPoolOptions>): GenericRedisClientPoolType<RedisDefaultModules & M, F, S, RESP, TYPE_MAPPING> {
7474
return genericCreateClientPool({
75-
...options,
75+
...clientOptions,
7676
modules: {
7777
...modules,
7878
...(clientOptions?.modules as M)

0 commit comments

Comments
 (0)