Setting up the chat client functionality using SocketIO - Start
This commit is contained in:
@@ -63,6 +63,9 @@ class Config(object):
|
||||
Text is delimited between triple backquotes.
|
||||
```{text}```"""
|
||||
|
||||
# SocketIO settings
|
||||
SOCKETIO_ASYNC_MODE = 'gevent'
|
||||
|
||||
|
||||
class DevConfig(Config):
|
||||
DEVELOPMENT = True
|
||||
@@ -92,6 +95,17 @@ class DevConfig(Config):
|
||||
UNSTRUCTURED_BASE_URL = 'https://flowitbv-16c4us0m.api.unstructuredapp.io'
|
||||
UNSTRUCTURED_FULL_URL = 'https://flowitbv-16c4us0m.api.unstructuredapp.io/general/v0/general'
|
||||
|
||||
# SocketIO settings
|
||||
SOCKETIO_MESSAGE_QUEUE = 'redis://localhost:6379/1'
|
||||
SOCKETIO_CORS_ALLOWED_ORIGINS = '*'
|
||||
SOCKETIO_LOGGER = True
|
||||
SOCKETIO_ENGINEIO_LOGGER = True
|
||||
|
||||
# Google Cloud settings
|
||||
GC_PROJECT_NAME = 'EveAI'
|
||||
GC_KEY_RING = 'eveai-chat'
|
||||
GC_CRYPTO_KEY = 'envelope-encryption-key'
|
||||
|
||||
|
||||
class ProdConfig(Config):
|
||||
DEVELOPMENT = False
|
||||
|
||||
Reference in New Issue
Block a user