Commit 3990bcf
ci(pull): wire CourtListener rate limits to repo variables
The client throttles to FEDCOURTS_COURTLISTENER_RPM/RPH/RPD (config.py), but
run-pull never set them, so a paid Free Law Project membership had no effect —
pull stayed at the free-tier 5/50/125 defaults. Inject the three from repo/env
variables (COURTLISTENER_RPM/RPH/RPD) so the active tier (e.g. Tier 2 =
15/150/600) is configurable without a code change.
An unset Actions variable renders as an empty string, which fails pydantic int
parsing and would crash pull-all; the `|| '5'/'50'/'125'` fallbacks keep today's
free-tier behavior until the variables are set, so this is a no-op until then.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 739f96e commit 3990bcf
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
165 | 175 | | |
166 | 176 | | |
167 | 177 | | |
| |||
0 commit comments