perf: backfill全速200ms/批(PG无锁冲突)
This commit is contained in:
parent
61287657df
commit
55422b0ae0
@ -27,7 +27,7 @@ logger = logging.getLogger("backfill")
|
||||
BINANCE_FAPI = "https://fapi.binance.com/fapi/v1"
|
||||
HEADERS = {"User-Agent": "Mozilla/5.0 ArbitrageEngine/backfill"}
|
||||
BATCH_SIZE = 1000
|
||||
SLEEP_MS = 2000
|
||||
SLEEP_MS = 200 # PG并发无锁,全速拉取
|
||||
|
||||
|
||||
# ─── DB helpers ──────────────────────────────────────────────────
|
||||
|
||||
Loading…
Reference in New Issue
Block a user