Closed AshCusack closed 4 years ago
Did you say 'yes' to the question "Is this installation for development?" while running first_setup.py? That configures the server to use the in-memory channel layer instead of redis.
Replace the CHANNEL_LAYERS
setting in numbasltiprovider/settings.py
to the following:
CHANNEL_LAYERS = {
"default": {
"BACKEND": "asgi_redis.RedisChannelLayer",
"CONFIG": {
"hosts": [os.environ.get('REDIS_URL','redis://localhost:6379')],
"capacity": 10000,
},
"ROUTING": "numbasltiprovider.routing.channel_routing",
},
}
Thanks Christian.
When supervisor is running, the daphne runs find, but the workers are "Starting" and restart after 1s each. When i check the stdout log i just get the following on every line
An error log file doesnt seem to have been generated.