mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-18 11:14:57 +02:00
Optimizations: 1. Removed extra round trip to database to count environments 2. Removed extra round trip to database to count features Fixes: Currently, we were using a very optimistic query to set correct limit and offset. This breaks as soon we we join tags. ` query = query .select(selectColumns) .limit(limit * environmentCount) .offset(offset * environmentCount);` The solution was to use common table expressions, so we could count and rank features. |
||
---|---|---|
.. | ||
createFeatureSearchService.ts | ||
feature-search-controller.ts | ||
feature-search-service.ts | ||
feature.search.e2e.test.ts |