manageServices: align version cache TTL and application page meta

Raise default CYBERCP_MANAGED_APPS version cache TTL to 3600s to match
Manage Applications inventory behavior and reduce cold DNF fetches.
Refresh application_page_meta and synced manageServices static assets.
This commit is contained in:
master3395
2026-04-03 21:21:21 +02:00
parent bbe1df2d68
commit ef0f12f55a
5 changed files with 81 additions and 58 deletions

View File

@@ -799,7 +799,9 @@ app.controller('manageApplications', function ($scope, $http, $timeout, $window)
}
$scope.selectedVersions = ['latest'];
var deferVersionList = (service.name === 'RabbitMQ' && !$scope.rabbitmqBranchChosen)
// RabbitMQ upgrade: bootstrap meta is often stream 4; stream follows installed line — do not
// reuse service.versions until refreshMeta returns for selectedRabbitmqStream (avoids mismatched list).
var deferVersionList = (service.name === 'RabbitMQ' && (!$scope.rabbitmqBranchChosen || status === 'Upgrading'))
|| (service.name === 'Elasticsearch' && !$scope.esMajorChosen);
if (!deferVersionList) {
var svcVers = sanitizeVersionsArray(service.versions || []);