sonda/internal/api/openapi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 63fee32271 feat(discover): one Discover at a time for each listener, three at once on the server
A cold Discover can make dozens of provider requests, and nothing stopped one
listener, or a client that keeps opening and cancelling requests, from lining up
work for the providers and slowing everyone else's.

- A listener who already has a Discover running gets 429 `discover_busy` with
  Retry-After, at once.
- At most three Discovers run at the same time, whoever asks; the others wait for
  their turn, and one that stops waiting does no work and keeps no place.
- The place and the turn are given back when a Discover fails or ends.
- Spec and README describe it; the fakes of the tests are safe for parallel runs.
2026-11-12 11:52:20 +01:00
..
openapi.go feat(api): OpenAPI spec and an offline Swagger UI 2026-11-11 14:35:16 +01:00
openapi.yaml feat(discover): one Discover at a time for each listener, three at once on the server 2026-11-12 11:52:20 +01:00