aspirecloud/app/Services/Packages
Joost de Valk 3ff0a042cf Fix timeout: use distinct constraints instead of loading all releases
Instead of loading all releases into PHP and running Semver::satisfies()
on each (thousands of calls causing 30s timeout), collect the distinct
constraint strings per key (typically 20-50 values), run Semver on those
few, then use SQL IN() to find matching package IDs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Joost de Valk <joost@altha.nl>
2026-03-22 10:20:19 +01:00
..
PackageDIDService.php enable strict types everywhere 2025-10-25 13:15:51 -06:00
PackageImportService.php feat: Package import endpoint 2025-11-11 09:46:45 +02:00
PackageInformationService.php enable strict types everywhere 2025-10-25 13:15:51 -06:00
PackageSearchService.php Fix timeout: use distinct constraints instead of loading all releases 2026-03-22 10:20:19 +01:00