aspirecloud/app/Services
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
..
Downloads DownloadService redirects back to upstream URL if S3 is not configured 2025-11-03 13:32:31 -07:00
Elastic refactor Indexable out into conditionally-activated Observer through trait 2025-10-24 16:16:07 -06:00
Exports add prefer-arrow-function linter rule and apply autofix 2025-10-25 13:48:47 -06:00
Metrics enable strict types everywhere 2025-10-25 13:15:51 -06:00
Packages Fix timeout: use distinct constraints instead of loading all releases 2026-03-22 10:20:19 +01:00
PluginServices set rating floor at 80 (rating is percentile) 2025-12-19 16:29:32 -07:00
Repo Replace spatie/laravel-data with dshafik/bag (#218) 2025-03-31 19:28:42 -06:00
Themes enable strict types everywhere 2025-10-25 13:15:51 -06:00