feat: 区分未同步与无数据日期,回补可自动联网补拉

This commit is contained in:
Benature
2026-11-28 18:02:01 +08:00
parent e34402f980
commit d14f517db2
5 changed files with 132 additions and 1 deletions

View File

@ -214,4 +214,6 @@ def sync_all_chats_for_day(
"error_type": type(error).__name__,
}
)
if not stats["failed"] and hasattr(storage, "mark_day_synced"):
storage.mark_day_synced(target_day.isoformat(), stats["matched"])
return stats