jondot / sneakers

A fast background processing framework for Ruby and RabbitMQ
https://github.com/jondot/sneakers
MIT License
2.25k stars 331 forks source link

Use ERB in yaml in order to use env vars to control worker count/etc #421

Closed rsouza-mdlive closed 4 years ago

rsouza-mdlive commented 4 years ago

We rely on the WorkerGroup yml file to divide our workers, but we lacked control over the worker count per group.

This PR is to enable use ENV vars (via erb interpolation) inside the yml file.

michaelklishin commented 4 years ago

Fair enough.