feat: 维护中国代理池并支持账号自动均匀使用
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user