fix: 管理员口令改为哈希并限制连续失败
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import os
|
||||
|
||||
import httpx
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
@@ -10,7 +12,7 @@ from euniv.proxy import bind_url, is_proxy_failure, view_of
|
||||
from euniv.proxy_pool import PROBE_URLS, acquire, mark_failed, page, probe, refresh_once, release
|
||||
from euniv.proxy_pool import _holds
|
||||
|
||||
INITIAL_PASSWORD = "242520"
|
||||
INITIAL_PASSWORD = os.environ["EUNIV_ADMIN_PASSWORD"]
|
||||
|
||||
|
||||
def _node(host: str, port: int, status: str = "alive", scheme: str = "http", assigns: int = 0) -> ProxyNode:
|
||||
|
||||
Reference in New Issue
Block a user