mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-07 00:16:16 +02:00
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:
@@ -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 || []);
|
||||
|
||||
Reference in New Issue
Block a user