auto-sync: 2026-05-05 00:04:00
This commit is contained in:
@@ -387,7 +387,9 @@ def run_daily_update(codes: List[str]) -> dict:
|
||||
break
|
||||
|
||||
if i > 0:
|
||||
time.sleep(REQUEST_INTERVAL)
|
||||
# 东方财富严格限频:基础间隔4s + 伪随机抖动±1s
|
||||
jitter = (hash(code) % 200 - 100) / 100.0 * EM_JITTER
|
||||
time.sleep(REQUEST_INTERVAL_EM + jitter)
|
||||
|
||||
last_date = get_daily_last_date(code)
|
||||
if not last_date:
|
||||
|
||||
Reference in New Issue
Block a user