Skip to content

Commit d0f7237

Browse files
author
Benjamin Coe
committed
badges \o/
1 parent f0bb8fb commit d0f7237

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
redis - a node.js redis client
22
===========================
33

4+
[![Build Status](https://travis-ci.org/NodeRedis/node_redis.png)](https://travis-ci.org/NodeRedis/node_redis)
5+
[![Coverage Status](https://coveralls.io/reposNodeRedis/node_redisbadge.svg?branch=)](https://coveralls.io/r/NodeRedis/node_redis?branch=)
6+
47
This is a complete Redis client for node.js. It supports all Redis commands,
58
including many recently added commands like EVAL from experimental Redis server
69
branches.
@@ -162,7 +165,7 @@ every command on a client.
162165
* `socket_nodelay`: defaults to `true`. Whether to call setNoDelay() on the TCP stream, which disables the
163166
Nagle algorithm on the underlying socket. Setting this option to `false` can result in additional throughput at the
164167
cost of more latency. Most applications will want this set to `true`.
165-
* `socket_keepalive` defaults to `true`. Whether the keep-alive functionality is enabled on the underlying socket.
168+
* `socket_keepalive` defaults to `true`. Whether the keep-alive functionality is enabled on the underlying socket.
166169
* `no_ready_check`: defaults to `false`. When a connection is established to the Redis server, the server might still
167170
be loading the database from disk. While loading, the server not respond to any commands. To work around this,
168171
`node_redis` has a "ready check" which sends the `INFO` command to the server. The response from the `INFO` command
@@ -181,8 +184,8 @@ limits total time for client to reconnect. Value is provided in milliseconds and
181184
* `max_attempts` defaults to `null`. By default client will try reconnecting until connected. Setting `max_attempts`
182185
limits total amount of reconnects.
183186
* `auth_pass` defaults to `null`. By default client will try connecting without auth. If set, client will run redis auth command on connect.
184-
* `family` defaults to `IPv4`. The client connects in IPv4 if not specified or if the DNS resolution returns an IPv4 address.
185-
You can force an IPv6 if you set the family to 'IPv6'. See nodejs net or dns modules how to use the family type.
187+
* `family` defaults to `IPv4`. The client connects in IPv4 if not specified or if the DNS resolution returns an IPv4 address.
188+
You can force an IPv6 if you set the family to 'IPv6'. See nodejs net or dns modules how to use the family type.
186189

187190
```js
188191
var redis = require("redis"),

0 commit comments

Comments
 (0)