Commit e9882bf

Repositorybojemoi
Branchmain
AuteurBetty
Hashe9882bfecdcd0703d43c7fad1e6a98df660b313c
Date2026-02-13

Description

The service crashed in a loop because the Telethon session expired and prompted for an interactive auth code, which fails in Docker Swarm.

  • main.py: in non-interactive mode, only use existing session; if expired, log error and fall back to Twitter-only instead of crashing. Support TELEGRAM_INTERACTIVE=1 for explicit re-auth and TELEGRAM_CODE for one-shot auth.
  • stack: move placement to manager node (session volume is node-local), comment out twitter_bearer_token secret until created.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Fichiers modifiés

MMrsatzavcekd/k4a6/-rsaezrvveidckea-/rmaazivne.dpkya.yml

Statistiques

2fileschanged,27insertions(+),11deletions(-)