Files
DBBot-telegram/.env.example
bilal 98b1469488 Improve timeout resilience for Telegram and n8n integrations.
Add configurable Telethon retry/connect settings, enable retry-on-fail for external n8n nodes, and document recovery steps for Telegram and workflow activation timeouts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 00:46:26 +03:00

13 lines
362 B
Plaintext

TG_API_ID=12345678
TG_API_HASH=your_telegram_api_hash
TG_GROUP_ID=-1001234567890
N8N_WEBHOOK_URL=http://your-n8n-host:5678/webhook/tg-inbox
SESSION_FILE_PATH=/app/session/session.session
HISTORY_CHECK_FILE=/app/session/history_done.flag
TG_USE_IPV6=false
TG_CONNECT_TIMEOUT=20
TG_REQUEST_RETRIES=10
TG_CONNECTION_RETRIES=20
TG_RETRY_DELAY=5
TG_RECONNECT_WAIT=15