Skip to content

Commit 9d010f6

Browse files
authored
Closes #327
1 parent ff89c14 commit 9d010f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const resolvers = {
111111

112112
## Creating the Redis Client
113113

114-
The basic usage is great for development and you will be able to connect to a Redis server running on your system seamlessly. For production usage, it is recommended to send a Redis client from the using code and pass in any options you would like to use. e.g: Connection retry strategy.
114+
The basic usage is great for development and you will be able to connect to a Redis server running on your system seamlessly. For production usage, it is recommended to pass a redis client (like ioredis) to the RedisPubSub constructor. This way you can control all the options of your redis connection, for example the connection retry strategy.
115115

116116
```javascript
117117
import { RedisPubSub } from 'graphql-redis-subscriptions';

0 commit comments

Comments
 (0)