1.0.10 • Published 5 years ago

ioredis-extend v1.0.10

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Redis Adapter - With Sentinel Support (ioredis)

source code at sails-ioredis

Install

Install is through NPM.

$ npm install ioredis-extend

Set your connection adapter to 'ioredis-extend'

Configuration

The following connection configuration is available:

// default values inline
config: {
  port: 6379,
  host: 'localhost',
  password: null,
  db: null,
  // SENTINEL CONFIG:
  // sentinels: [{ host: 'host1', port: 26379 },{ host: 'host2', port: 26379 }, ...]  // array of sentinel servers
  // name: 'master', // name of the sentinel master

  // USING WITH CLUSTER:
  hosts: [{ host: 'host1', port: 26379 },{ host: 'host2', port: 26379 }, ...],
  // ^--- if you specify an array of hosts the adapter will use ioredis cluster instead
};

Low-Level Configuration (for redis driver)

See options at: https://github.com/luin/ioredis

MIT License

See LICENSE.

1.0.10

5 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago