fix: 已学完的课不再重查,连续失败会退避

This commit is contained in:
2026-11-16 09:01:47 +08:00
parent f42633b5ad
commit 174d7a49e3
5 changed files with 160 additions and 13 deletions
+1
View File
@@ -31,6 +31,7 @@ def fresh_database():
connection.execute(text("DROP TABLE IF EXISTS course_sync"))
connection.execute(text("DROP TABLE IF EXISTS proxy_nodes"))
connection.execute(text("DROP TABLE IF EXISTS proxy_pool_sync"))
connection.execute(text("DROP TABLE IF EXISTS finished_courses"))
connection.execute(text("DROP TABLE IF EXISTS alembic_version"))
init_db()
ensure_admin_seed()