Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsing hostname from command line or env #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

parsing hostname from command line or env #37

wants to merge 1 commit into from

Conversation

TheOrioli
Copy link
Contributor

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

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.

None yet

1 participant