Skip to content

Commit d5129d5

Browse files
committed
Merge pull request #820 from NodeRedis/readme-updates
a couple small additions to the readme
2 parents bd5cc64 + 1f98605 commit d5129d5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,11 @@ If you have `redis-server` running on the same computer as node, then the defaul
155155
port and host are probably fine and you don't need to supply any arguments. `createClient()` returns a `RedisClient` object.
156156

157157
### overloading
158-
* `redis.createClient(port,host,options)`
158+
* `redis.createClient(port, host, options)`
159159
* `redis.createClient()` is equivalent to `redis.createClient(6379, '127.0.0.1', {})`
160160
* `redis.createClient(options)` is equivalent to `redis.createClient(6379, '127.0.0.1', options)`
161161
* `redis.createClient(unix_socket, options)`
162+
* `redis.createClient('redis://user:pass@host:port', options)`
162163

163164
`options` is an object with the following possible properties:
164165

@@ -709,6 +710,10 @@ hiredis parser:
709710
GET 4MiB buf, 1/5 min/max/avg/p95: 6/ 13/ 8.01/ 11.95 802ms total, 124.69 ops/sec
710711
GET 4MiB buf, 50/5 min/max/avg/p95: 16/ 480/ 203.85/ 435.70 531ms total, 188.32 ops/sec
711712

713+
## Debugging
714+
715+
To get debug output run your `node_redis` application with `NODE_DEBUG=redis`.
716+
712717
## TODO
713718

714719
1. 100% coverage

0 commit comments

Comments
 (0)