mirror of https://github.com/zulip/zulip.git
Move rabbitmq username into settings.py
(imported from commit f9a8f80f53b8774781b8558444e601567cb59835)
This commit is contained in:
parent
a463d2a386
commit
ec21275b19
|
@ -39,7 +39,7 @@ class SimpleQueueClient(object):
|
|||
def _get_parameters(self):
|
||||
return pika.ConnectionParameters('localhost',
|
||||
credentials = pika.PlainCredentials(
|
||||
'humbug', settings.RABBITMQ_PASSWORD))
|
||||
settings.RABBITMQ_USERNAME, settings.RABBITMQ_PASSWORD))
|
||||
|
||||
def _generate_ctag(self, queue_name):
|
||||
return "%s_%s" % (queue_name, str(random.getrandbits(16)))
|
||||
|
|
|
@ -446,6 +446,7 @@ PIPELINE_YUI_BINARY = '/usr/bin/env yui-compressor'
|
|||
|
||||
|
||||
USING_RABBITMQ = DEPLOYED
|
||||
RABBITMQ_USERNAME = 'humbug'
|
||||
|
||||
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
|
||||
|
||||
|
|
Loading…
Reference in New Issue