Fixes: 1) Replaced legacy `TELEGRAM_API_TOKEN` configuration with `TELEGRAM_TOKEN`; 2) Incorporated anti-spam checks for user messages to prevent abuse. Extra: Refactored websocket consumers by integrating Telegram support and enhancing thread-assignment workflows; improved logging and API consistency; minor cleanup and deprecations.
14 lines
344 B
Python
14 lines
344 B
Python
# noinspection PyUnresolvedReferences
|
|
from evibes.settings.base import * # noqa: F403
|
|
|
|
GRAPH_MODELS = {
|
|
"all_applications": True,
|
|
"group_models": True,
|
|
}
|
|
|
|
EXTENSIONS_MAX_UNIQUE_QUERY_ATTEMPTS = 500
|
|
|
|
HEALTHCHECK_CELERY_RESULT_TIMEOUT = 5
|
|
HEALTHCHECK_CELERY_QUEUE_TIMEOUT = 5
|
|
|
|
TELEGRAM_TOKEN = getenv("TELEGRAM_TOKEN", "") # noqa: F405
|