Skip to content

Obsolete documentation for yaml configuration #149

@lionvs

Description

@lionvs

In version 1.4.1 we used to put host and port inside beanstalk:

var options = {
 		id: this.id,
 		host: config.beanstalkd.host,
 		port: config.beanstalkd.port,
 		handlers: config.handlers,
 		ignoreDefault: config.ignoreDefault
 };

It was changed in this commit. And now in version 1.5.0 we put host and port just inside config:

var options =
{
    id: 'worker_4',
    host: '127.0.0.1',
    port: 11300,
    handlers:
    {
        emitkeys: require('./emitkeyshandler')()
    },
    ignoreDefault: true
}

But documantation about it for yaml configuration hasn't been updated:

beanstalkd:
    host: "127.0.0.1"
    port: 11300
watch:
    - 'circle'
    - 'picadilly'
    - 'northern'
    - 'central'
handlers:
    - "./handlers/holborn.js"
    - "./handlers/greenpark.js"
    - "./handlers/knightsbridge.js"
ignoreDefault: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions