Skip to content

Commit 1fbba6f

Browse files
authored
Update README.md
1 parent 9fc52f2 commit 1fbba6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ This ShareDB add-on gives you horizontal scalability; the ability to have a clus
1313
This snippet shows how to load this library and pass it into a new ShareDB instance.
1414

1515
```js
16-
var redisPubsub = require('sharedb-redis-pubsub')({client:redisClient}); // Redis client being an existing redis client connection
16+
// Redis client is an existing redis client connection
17+
var redisPubsub = require('sharedb-redis-pubsub')({client: redisClient});
1718

1819
var backend = new ShareDB({
1920
db: db, // db would be your mongo db or other storage location

0 commit comments

Comments
 (0)