goworker icon indicating copy to clipboard operation
goworker copied to clipboard

parsing hostname from command line or env

Open TheOrioli opened this issue 8 years ago • 0 comments

A small change that enables setting a hostname via the command line or environment variables.

The motivation for this change is that Heroku has unreadable hostnames, and that makes it very hard to determine what sets of workers are doing what. The change is backwards compatible, nothing changes for users who don't set the hostname variable. I would prefer to change something else instead of hostname, but resque only shows that value in resque_web.

Before screen shot 2015-12-30 at 13 26 33

After screen shot 2015-12-30 at 14 59 21

TheOrioli avatar Dec 30 '15 14:12 TheOrioli