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

RABBITMQ_*, MEMCACHED_LOCATION, REDIS_* configurable in settings.py #436

Closed
wants to merge 1 commit into from
Closed

RABBITMQ_*, MEMCACHED_LOCATION, REDIS_* configurable in settings.py #436

wants to merge 1 commit into from

Conversation

galexrt
Copy link
Contributor

@galexrt galexrt commented Jan 21, 2016

This pull request is PR #431 with more configurable variables.

When this pull request is merged, I can create the pull request for the (better) Dockerfile without any "sed" hacks.

@smarx
Copy link

smarx commented Jan 21, 2016

Automated message from Dropbox CLA bot

@galexrt, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here and update the thread so we can consider merging your code.

@@ -327,8 +333,10 @@ def get_secret(key):
########################################################################

USING_RABBITMQ = True
# RABBITMQ_HOST default is 'localhost'
RABBITMQ_USERNAME = 'zulip'
Copy link
Member

Choose a reason for hiding this comment

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

You need to remove this line or the default above won't take effect.

…n the /etc/zulip/settings.py

Allow to specify the rabbitmq server address

Moved the RABBITMQ_HOST to DEFAULT_SETTINGS (with default localhost)

PR #431, See #431 (comment)

Added commented RABBITMQ_HOST to the local_settings_template.py with a small comment what it does

Expaneded the comment as @timabbott commented
See #431 (comment)

Something went wrong with the merging

Fixed the memcached comment
@galexrt
Copy link
Contributor Author

galexrt commented Jan 21, 2016

@timabbott Sry about that comment, had some troubles rebasing/mergin everything, but I fixed the memcached comment now.
BTW I closed #431 because this PR is the same but extended to more variables.

@timabbott
Copy link
Member

OK cool, I'm going to do a few small tweaks to the comments (and fix configure-rabbitmq not being updated), test it, and then merge. Thanks @galexrt !

@timabbott
Copy link
Member

Merged!

@timabbott timabbott closed this Jan 22, 2016
@galexrt galexrt deleted the memcached branch January 22, 2016 07:29
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.

3 participants