Change the default redis host to localhost. Fix some whitespace issues in the userevents module.
This commit is contained in:
parent
44637dad96
commit
fa6a06502d
2 changed files with 6 additions and 6 deletions
|
@ -80,11 +80,11 @@ class DefaultConfig(object):
|
||||||
AUTHENTICATION_TYPE = 'Database'
|
AUTHENTICATION_TYPE = 'Database'
|
||||||
|
|
||||||
# Build logs
|
# Build logs
|
||||||
BUILDLOGS_REDIS = {'host': 'logs.quay.io'}
|
BUILDLOGS_REDIS = {'host': 'localhost'}
|
||||||
BUILDLOGS_OPTIONS = []
|
BUILDLOGS_OPTIONS = []
|
||||||
|
|
||||||
# Real-time user events
|
# Real-time user events
|
||||||
USER_EVENTS_REDIS = {'host': 'logs.quay.io'}
|
USER_EVENTS_REDIS = {'host': 'localhost'}
|
||||||
|
|
||||||
# Stripe config
|
# Stripe config
|
||||||
BILLING_TYPE = 'FakeStripe'
|
BILLING_TYPE = 'FakeStripe'
|
||||||
|
|
|
@ -30,7 +30,7 @@ class UserEventsBuilderModule(object):
|
||||||
if not redis_config:
|
if not redis_config:
|
||||||
# This is the old key name.
|
# This is the old key name.
|
||||||
redis_config = {
|
redis_config = {
|
||||||
'host': app.config.get('USER_EVENTS_REDIS_HOSTNAME')
|
'host': app.config.get('USER_EVENTS_REDIS_HOSTNAME'),
|
||||||
}
|
}
|
||||||
|
|
||||||
user_events = UserEventBuilder(redis_config)
|
user_events = UserEventBuilder(redis_config)
|
||||||
|
|
Reference in a new issue