Address review comments

This commit is contained in:
nvazquez 2025-04-25 06:58:27 -03:00
parent 9a66f939d7
commit e0e9d641fb
No known key found for this signature in database
GPG Key ID: 656E1BCC8CB54F84
2 changed files with 1 additions and 7 deletions

View File

@ -3557,8 +3557,7 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
final List<Long> networkIds = _networksDao.findNetworksToGarbageCollect();
final int netGcWait = NumbersUtil.parseInt(_configDao.getValue(NetworkGcWait.key()), 60);
final int netGcInterval = NumbersUtil.parseInt(_configDao.getValue(NetworkGcInterval.key()), 60);
logger.info("NetworkGarbageCollector uses '{}' seconds for GC wait.", netGcWait);
logger.info("NetworkGarbageCollector uses '{}' seconds for GC interval.", netGcInterval);
logger.info("NetworkGarbageCollector uses '{}' seconds for GC wait and '{} seconds for GC interval.", netGcWait, netGcInterval);
for (final Long networkId : networkIds) {
if (!_networkModel.isNetworkReadyForGc(networkId)) {

View File

@ -69,8 +69,3 @@ CALL `cloud`.`IDEMPOTENT_UPDATE_API_PERMISSION`('Read-Only Admin - Default', 'va
CALL `cloud`.`IDEMPOTENT_UPDATE_API_PERMISSION`('Support Admin - Default', 'setupUserTwoFactorAuthentication', 'ALLOW');
CALL `cloud`.`IDEMPOTENT_UPDATE_API_PERMISSION`('Support Admin - Default', 'validateUserTwoFactorAuthenticationCode', 'ALLOW');
-- Fix dynamic setting for the network.gc.interval
UPDATE `cloud`.`configuration` SET `is_dynamic`=0 WHERE `name`='network.gc.interval';