Skip to content

Commit

Permalink
Merge pull request lykmapipo#84 from jamemackson/add-skipConfig-docum…
Browse files Browse the repository at this point in the history
…entation

add explicit documentation of skipConfig option
  • Loading branch information
lykmapipo committed Mar 16, 2017
2 parents 6a01cbc + d331965 commit 926011d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ Example
```js
var options = {
prefix: 'w',
skipConfig: false,
redis: {
port: 6379,
host: '127.0.0.1',
Expand Down Expand Up @@ -240,8 +241,8 @@ Example
var scheduler = kue.createQueue({
skipConfig:true
});
```

```
*Note! if you experience the following error: `ReplyError: ERR unknown command 'config'`, which will happen if you're using a redis instance with the config command disabled (AWS Elasticache for example) you must call createQueue with the `skipConfig` option and manually ensure that the `notify-keyspace-events` configuration key is set to `Ex`.*

## API

Expand Down

0 comments on commit 926011d

Please sign in to comment.