npm install redisp --save
var pool = ;//creates a dedicated client connectionpool;//retrieves a client connection from the poolpool;
var pool = opts;
List of available options:
host: host to connect redis on (
port: port to connect redis on (
password: password used in authentication (
maxConnections: maximum number of connections that can be held in the connection pool. If
maxConnectionsis reached, new calls to
pool.borrowwill be blocked until a client connection is released.
All other options are the same as in redis.