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

Move setting of environmental variables (configured via the raw_env sett... #740

Merged
merged 1 commit into from
May 13, 2014
Merged

Move setting of environmental variables (configured via the raw_env sett... #740

merged 1 commit into from
May 13, 2014

Conversation

tshlabs
Copy link
Contributor

@tshlabs tshlabs commented May 11, 2014

...ing) from Arbiter.start to Arbiter.setup so that they are available during application start up when 'preload_app' is used.

I didn't update any of the documentation related to these changes since I didn't really see a place where it would fit in very well. Please let me know if you'd like me to update some part of the docs.

Additionally, the unit test makes use of other parts of Gunicorn (BaseApplication), not just the Arbiter. I wasn't sure if that's OK or not, let me know if it needs to be reworked. Thanks.

Closes #735

@benoitc
Copy link
Owner

benoitc commented May 13, 2014

@tshlabs can you split the .gitignore change in a single commit? Other changes are ok.

@tshlabs
Copy link
Contributor Author

tshlabs commented May 13, 2014

@benoitc Sure, will do.

@tilgovi
Copy link
Collaborator

tilgovi commented May 13, 2014

Looks fine to me, unless @benoitc, did you mean you wanted this squashed/amended to remove the .gitignore?

Move setting of env vars from Arbiter.start to Arbiter.setup so that they are available during application start up when 'preload_app' is used.

Closes #735
@tshlabs
Copy link
Contributor Author

tshlabs commented May 13, 2014

Squashed the changes into a single commit that doesn't include any modifications to .gitignore.

tilgovi added a commit that referenced this pull request May 13, 2014
Move setting of environmental variables (configured via the raw_env sett...
@tilgovi tilgovi merged commit d9c15dc into benoitc:master May 13, 2014
@tilgovi
Copy link
Collaborator

tilgovi commented May 13, 2014

💨

@tshlabs
Copy link
Contributor Author

tshlabs commented May 13, 2014

Thanks guys!

@tshlabs tshlabs deleted the 735-envvars-preload branch May 13, 2014 22:37
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.

Environmental variables not available during '--preload' application start up
4 participants