Skip to content

Commit

Permalink
- Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LobeTia committed Nov 27, 2016
1 parent 7e42b72 commit 8db8917
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,21 @@ module.exports = {
```js
// config/kue.js
module.exports = {

driver: {
prefix: 'q',
redis: {
port: 6379,
host: '127.0.0.1',
auth: 'password',
db: 1, // if provided select a non-default redis db
options: {
// see https://github.com/mranney/node_redis#rediscreateclient
}
}
},
/**
* Define worker profiles. Each worker of a given type listens for the
* "tasks" defined in its profile below. The task names represent a Task
* defined in api.services.tasks.
* Define tasks profiles.
* Each task profile can have a concurrency and refer to a class exposed in api.tasks
*/
tasks: {
hello_world: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trailpack-kue",
"version": "0.3.0",
"version": "0.3.1",
"description": "Kue implementation for TrailsJs.io",
"homepage": "http://trailsjs.io",
"author": {
Expand Down

0 comments on commit 8db8917

Please sign in to comment.