feat: 维护中国代理池并支持账号自动均匀使用

This commit is contained in:
2026-11-15 02:18:17 +08:00
parent aa26d00c60
commit ce2d6e08dd
20 changed files with 1733 additions and 162 deletions
+5
View File
@@ -26,7 +26,12 @@ def fresh_database():
connection.execute(text("DROP TABLE IF EXISTS system_config"))
connection.execute(text("DROP TABLE IF EXISTS courses"))
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 alembic_version"))
init_db()
ensure_admin_seed()
load_admin_identity()
from euniv.proxy_pool import _holds
_holds.clear()