Files
The-Ouroboros/tests/test_telegram_commands.py
agentson 77577f3f4d
Some checks failed
CI / test (pull_request) Has been cancelled
fix: Telegram 409 충돌 시 WARNING 로그 + 30초 백오프 적용 (#180)
다중 인스턴스 실행 시 Telegram getUpdates 409 응답을 ERROR가 아닌 WARNING으로
처리하고, 30초 동안 polling을 일시 중단하여 충돌을 완화.

- _conflict_backoff_until 속성 추가
- 409 감지 시 명확한 "another instance is polling" 메시지 출력
- poll_loop에서 백오프 활성 중 polling 스킵
- TestGetUpdates에 409 관련 테스트 2개 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 09:31:04 +09:00

35 KiB