fix: 이메일 멀티 폴더 조회 + Synology 무응답 방지
- email_tool: INBOX/Gmail/Technicalkorea 3개 폴더 순회 - 폴더별 try/except isolation (하나 실패해도 나머지 조회) - UID → folder:uid 형식 (폴더간 충돌 방지) - 날짜 parsedate_to_datetime 정렬 - 폴더 라벨 표시 (개인/Gmail/회사) - worker: response_sent 플래그 + finally 무응답 방지 - 어떤 에러 경로에서든 Synology에 최소 1회 응답 보장 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,7 @@ class Job:
|
||||
rewritten_message: str = ""
|
||||
callback: str = "" # "synology" | ""
|
||||
callback_meta: dict = field(default_factory=dict) # username, user_id 등
|
||||
response_sent: bool = False # Synology에 응답 전송 여부
|
||||
|
||||
|
||||
class JobManager:
|
||||
|
||||
Reference in New Issue
Block a user