Skip to content

Commit 173c2cd

Browse files
committed
feat(sync): split version polling into fast metadata + hourly search schedules
The single 2-minute schedule per artifact paginated the Sonatype REST component-search on every tick — wasteful for what is nearly always a "no new versions" answer. Poll maven-metadata.xml every 2 minutes for fast new-version detection and fall back to full REST pagination once an hour as a correctness backstop. Metadata can list a version before its assets are indexed, so a VersionHasAssets probe gates each candidate to prevent permanent zero-asset ghost rows. TriggerSync gains ?source=metadata|search for on-demand routing. Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
1 parent 7ca8673 commit 173c2cd

20 files changed

Lines changed: 1693 additions & 708 deletions

api/api.gen.go

Lines changed: 54 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)