You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-12Lines changed: 4 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
Fastify Redis connection plugin, with this you can share the same Redis connection in every part of your server.
6
6
7
-
Under the hood the official [redis](https://github.com/NodeRedis/node_redis) client is used, the ``options`` that you pass to `register` will be passed to the Redis client.
7
+
Under the hood [ioredis](https://github.com/luin/ioredis)is used as client, the ``options`` that you pass to `register` will be passed to the Redis client.
8
8
9
9
## Install
10
10
```
@@ -14,18 +14,10 @@ npm i fastify-redis --save
14
14
Add it to your project with `register` and you are done!
15
15
You can access the *Redis* client via `fastify.redis`.
16
16
17
-
If needed, you can pass a custom ``driver`` option, such as [ioredis](https://github.com/luin/ioredis). By default the official [redis](https://github.com/NodeRedis/node_redis) client is used.
0 commit comments