feat: Implement a thread-safe account store with pool management, CRUD operations, and statistics tracking.

This commit is contained in:
2026-02-13 04:27:33 +08:00
parent b73c93db4a
commit f9b78640b5

View File

@@ -8,8 +8,9 @@ import json
import threading
from pathlib import Path
_ACCOUNTS_FILE = Path(__file__).parent / "accounts.txt"
_STATS_FILE = Path(__file__).parent / "stats.json"
_PROJECT_ROOT = Path(__file__).parent.parent
_ACCOUNTS_FILE = _PROJECT_ROOT / "accounts.txt"
_STATS_FILE = _PROJECT_ROOT / "stats.json"
_lock = threading.Lock()
# ====== 账号池(并发调度)======