Skip to content

Commit

Permalink
Fixed ceejbot#149: Obsolete documentation for yaml configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lionvs committed Jan 26, 2017
1 parent 1849d02 commit a0defd2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,8 @@ runner.go();
Here's an example yaml configuration:

```yaml
beanstalkd:
host: "127.0.0.1"
port: 11300
host: "127.0.0.1"
port: 11300
watch:
- 'circle'
- 'picadilly'
Expand All @@ -413,7 +412,7 @@ handlers:
ignoreDefault: true
```

__beanstalkd__: where to connect
__host__, __port__: where to connect
__watch__: a list of tubes to watch.
__handlers__: a list of handler files to require
__ignoreDefault__: true if this worker should ignore the default tube
Expand Down
5 changes: 2 additions & 3 deletions test/fixtures/badconfig.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
beanstalkd:
host: "localhost"
port: 11300
host: "localhost"
port: 11300
handlers:
- "./test/fixtures/emitkeys.js"
- "./dontexist.js"
Expand Down
5 changes: 2 additions & 3 deletions test/fixtures/runner.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
beanstalkd:
host: "localhost"
port: 11300
host: "localhost"
port: 11300
handlers:
- "./test/fixtures/emitkeys.js"
- "./test/fixtures/reverse.js"
Expand Down

0 comments on commit a0defd2

Please sign in to comment.