Skip to content

Commit 8a1b4b4

Browse files
authored
fix(pool): make createClientPool use provided options (#3095)
fixes: #3094
1 parent bab26b0 commit 8a1b4b4

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)