Commit 0d03ef14 authored by Gladys Forte's avatar Gladys Forte

Merge pull request #701 in RMS/api-main-service from gladys-dev2 to product-dev

* commit '9be052b2':
  update settings channel layer hosts
parents 10632f9a 9be052b2
...@@ -710,7 +710,7 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet): ...@@ -710,7 +710,7 @@ class ChangeRequestFormsViewset(viewsets.ModelViewSet):
new_instance = serializer.data new_instance = serializer.data
original_user = new_instance['user']['code'] original_user = new_instance['user']['code']
if original_user == current_user: if original_user == current_user:
data_update = { data_update = {
"on_behalf": None "on_behalf": None
......
...@@ -14,8 +14,8 @@ CHANNEL_LAYERS = { ...@@ -14,8 +14,8 @@ CHANNEL_LAYERS = {
'default': { 'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer', 'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': { 'CONFIG': {
# "hosts": [('172.17.0.1', 6379)], "hosts": [('172.17.0.1', 6379)],
"hosts": [('127.0.0.1', 6379)], # "hosts": [('127.0.0.1', 6379)],
}, },
}, },
} }
......
...@@ -13,8 +13,8 @@ CHANNEL_LAYERS = { ...@@ -13,8 +13,8 @@ CHANNEL_LAYERS = {
'default': { 'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer', 'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': { 'CONFIG': {
# "hosts": [('172.17.0.1', 6379)], "hosts": [('172.17.0.1', 6379)],
"hosts": [('127.0.0.1', 6379)], # "hosts": [('127.0.0.1', 6379)],
}, },
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment