We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3785f7b commit e92d835Copy full SHA for e92d835
packages/bentocache/src/drivers/redis.ts
@@ -28,7 +28,7 @@ export function redisBusDriver(
28
): CreateBusDriverResult {
29
return {
30
options,
31
- factory: (config: IoRedisOptions) => new RedisTransport(config, new BinaryEncoder()),
+ factory: () => new RedisTransport(options.connection, new BinaryEncoder()),
32
}
33
34
0 commit comments