Files
stack/tests/bib
kert 22cbc74aae
Some checks failed
CI / lint (push) Successful in 31s
Deploy / notebooks (push) Has been skipped
Deploy / zotero (push) Has been skipped
Deploy / docs (push) Has been skipped
Deploy / api (push) Has been skipped
Deploy / mc (push) Has been skipped
Infra CI / notebooks (push) Failing after 27s
Infra CI / zotero (push) Successful in 10m50s
Infra CI / docs (push) Successful in 1m29s
Infra CI / api (push) Successful in 28s
Infra CI / mc (push) Successful in 15s
Deploy / report (push) Successful in 33s
CI / test (push) Has been cancelled
perf(bib): concurrent CDN attachment downloads + 3× API throughput
Attachment downloads go to downloads.regulations.gov (CDN) and do not
count against the API rate limit. Fetch them in a ThreadPoolExecutor
(4 workers) with no inter-request delay. Cuts per-comment wall time
for comments with multiple attachments.

Drop --sleep default from 3.7s to 1.3s. The reg.gov limit is 50/min
burst (not 1000/hr), so 1.3s pacing ≈46/min stays under the tighter
cap while tripling sustained API throughput.

refs #251 #253

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 11:14:06 -04:00
..