1
1
redis - a node.js redis client
2
2
===========================
3
3
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
+
4
7
This is a complete Redis client for node.js. It supports all Redis commands,
5
8
including many recently added commands like EVAL from experimental Redis server
6
9
branches.
@@ -162,7 +165,7 @@ every command on a client.
162
165
* ` socket_nodelay ` : defaults to ` true ` . Whether to call setNoDelay() on the TCP stream, which disables the
163
166
Nagle algorithm on the underlying socket. Setting this option to ` false ` can result in additional throughput at the
164
167
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.
166
169
* ` no_ready_check ` : defaults to ` false ` . When a connection is established to the Redis server, the server might still
167
170
be loading the database from disk. While loading, the server not respond to any commands. To work around this,
168
171
` 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
181
184
* ` max_attempts ` defaults to ` null ` . By default client will try reconnecting until connected. Setting ` max_attempts `
182
185
limits total amount of reconnects.
183
186
* ` 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.
186
189
187
190
``` js
188
191
var redis = require (" redis" ),
0 commit comments