perf: reduce audit concurrency to 3 to avoid PDB hammering
This commit is contained in:
parent
711b89a09e
commit
a9ee94466e
@ -51,7 +51,8 @@ RIPE_BASE = "https://stat.ripe.net/data"
|
|||||||
BATCH_SIZE = 100
|
BATCH_SIZE = 100
|
||||||
TIMEOUT_PC = 90 # large networks (Cloudflare, Amazon) can take 60–80s
|
TIMEOUT_PC = 90 # large networks (Cloudflare, Amazon) can take 60–80s
|
||||||
TIMEOUT_AUTH = 30
|
TIMEOUT_AUTH = 30
|
||||||
CONCURRENCY = 4 # parallel PeerCortex requests
|
CONCURRENCY = 3 # parallel PeerCortex requests — keep low to avoid PDB hammering
|
||||||
|
# (each PC lookup triggers 3+ PDB calls internally)
|
||||||
|
|
||||||
# Tolerance for prefix/neighbour counts (BGP timing differences are normal)
|
# Tolerance for prefix/neighbour counts (BGP timing differences are normal)
|
||||||
PREFIX_TOL_PCT = 0.05 # 5%
|
PREFIX_TOL_PCT = 0.05 # 5%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user