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

Multi-instance settings support [light version] #2358

Merged
merged 4 commits into from
Sep 17, 2018

Conversation

zasca
Copy link

@zasca zasca commented Sep 17, 2018

Alternate PR version for #2329 without architectural changes.
The first version is #2330

@@ -206,10 +207,11 @@
FLUSHRRDCACHED = ''

## Load our local_settings
SETTINGS_MODULE = os.environ['GRAPHITE_SETTINGS_MODULE']
Copy link
Member

@deniszh deniszh Sep 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's better to use something like

SETTINGS_MODULE = os.environ.get('GRAPHITE_SETTINGS_MODULE', 'graphite.local_settings')

here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Denis.
Fixed.

@DanCech DanCech mentioned this pull request Sep 17, 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.

4 participants