Real-time geospatial OSINT intelligence dashboard
  • Python 78%
  • HTML 21.5%
  • Shell 0.3%
  • Dockerfile 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps 56908aed03 fix(gdelt): stop retrying 429 over http, add quota backoff
GDELT's DOC 2.0 API answers 429 with a plain-text body, no Retry-After, and
a per-IP block window that widens with request volume. The https->http retry
only doubled the request count against that quota and could never succeed,
and every cycle logged a full traceback.

- ingest_gdelt: a 429 (or a 200 with a prose body) now sets a backoff window
  (GDELT_BACKOFF_BASE=300s, doubling to GDELT_BACKOFF_MAX=1800s, Retry-After
  honoured when present) and returns 0 instead of raising.
- cycles inside the window skip the call entirely, logging one line.
- the https->http fallback now only covers TransportError (TLS/connect), not
  HTTP error statuses.
- producer_loop logs a GDELT failure as one WARNING line, no traceback.
- tests/test_gdelt_backoff.py covers no-retry-on-429, cooldown skip, doubling
  and cap, Retry-After, 200-prose, success reset, transport fallback.
2026-11-21 18:12:56 -05:00
.forgejo/workflows ci: log in with a write:package PAT called REGISTRY_TOKEN 2026-11-17 15:10:13 -05:00
alembic news: per-article proximate geolocation + GET /api/news/blips 2026-11-19 22:50:59 -05:00
app fix(gdelt): stop retrying 429 over http, add quota backoff 2026-11-21 18:12:56 -05:00
deploy chore: remove unused masscan scanner 2026-09-01 00:47:24 -04:00
docs feat(summarizer): collapse syndicated wire copies before selection 2026-11-13 22:14:44 -05:00
news news: per-article proximate geolocation + GET /api/news/blips 2026-11-19 22:50:59 -05:00
scripts fix(ingest): skip known KEV/FIRMS rows; CI skips unchanged images 2026-08-29 19:32:00 -04:00
tests fix(gdelt): stop retrying 429 over http, add quota backoff 2026-11-21 18:12:56 -05:00
.dockerignore Containerize for Pi: env-var config, compose stack, CI workflow 2026-07-07 17:50:51 -04:00
.env.example feat(summarizer): collapse syndicated wire copies before selection 2026-11-13 22:14:44 -05:00
.gitignore Add NASA FIRMS active-fire ingest + /api/fires; API keys management page 2026-08-24 15:37:42 -04:00
alembic.ini Containerize for Pi: env-var config, compose stack, CI workflow 2026-07-07 17:50:51 -04:00
docker-compose.yml fix(ops): pin TiTiler digest, GIST bbox indexes, single uvicorn worker 2026-09-01 00:47:06 -04:00
Dockerfile cameras: RTSP preview via ffmpeg, stop opening VLC, drop masscan to 200pps 2026-08-24 23:36:34 -04:00
Dockerfile.pg Fix Dockerfile.pg: mkdir conf.d before writing timescaledb preload 2026-07-07 18:17:31 -04:00
IDEA.md ci: retrigger deploy (previous run raced the force-push) 2026-08-27 17:42:03 -04:00
pytest.ini fix: pipeline reliability — WS, summarizer, ingest, health 2026-08-28 21:49:05 -04:00