Add fifo
This commit is contained in:
@ -43,11 +43,14 @@ INSTALLED_APPS = [
|
||||
'channels', # Servidor de WebSockets
|
||||
]
|
||||
|
||||
REDIS_HOST = "redis"
|
||||
REDIS_PORT = 6379
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
"default": {
|
||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [("redis", 6379)],
|
||||
"hosts": [(REDIS_HOST, REDIS_PORT)],
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -61,8 +64,8 @@ HUEY = {
|
||||
'utc': False,
|
||||
'blocking': True,
|
||||
'connection': {
|
||||
'host': 'redis',
|
||||
'port': 6379,
|
||||
'host': REDIS_HOST,
|
||||
'port': REDIS_PORT,
|
||||
'db': 0,
|
||||
'connection_pool': None,
|
||||
'read_timeout': 1,
|
||||
|
Reference in New Issue
Block a user