You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Add rename_commands option
This commit is contained in:
@@ -5,7 +5,7 @@ redis - a node.js redis client
|
||||
[](https://coveralls.io/r/NodeRedis/node_redis?branch=)
|
||||
[](https://ci.appveyor.com/project/bcoe/node-redis)
|
||||
|
||||
This is a complete Redis client for node.js. It supports all Redis commands and focuses on performance.
|
||||
This is a complete and feature rich Redis client for node.js. It supports all Redis commands and focuses on performance.
|
||||
|
||||
Install with:
|
||||
|
||||
@@ -204,6 +204,7 @@ limits total amount of connection tries. Setting this to 1 will prevent any reco
|
||||
* `auth_pass`: *null*; If set, client will run redis auth command on connect.
|
||||
* `family`: *IPv4*; You can force using IPv6 if you set the family to 'IPv6'. See Node.js [net](https://nodejs.org/api/net.html) or [dns](https://nodejs.org/api/dns.html) modules how to use the family type.
|
||||
* `disable_resubscribing`: *false*; If set to `true`, a client won't resubscribe after disconnecting
|
||||
* `rename_commands`: *null*; pass a object with renamed commands to use those instead of the original functions. See the [redis security topics](http://redis.io/topics/security) for more info.
|
||||
|
||||
```js
|
||||
var redis = require("redis"),
|
||||
|
Reference in New Issue
Block a user