Skip to content

Conversation

@stuk88
Copy link

@stuk88 stuk88 commented Jan 16, 2018

Add feature to run jobs only in worker that has NODE_ENV that is equal to the config "enviroment_to_runin". Only when enviroment_to_runin is defined.

Add feature to run jobs only in worker that has NODE_ENV that is equal to the config "enviroment_to_runin". Only when enviroment_to_runin is defined.
As the other config vars are defined
heroku sets sails.config.environment to be the default one in the worker.
@stuk88 stuk88 changed the title add feature to run jobs only in worker [feature] Run jobs only in worker Jan 22, 2018
@stuk88 stuk88 mentioned this pull request Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant