mirror of https://github.com/apache/cloudstack.git
Address review comments
This commit is contained in:
parent
9a66f939d7
commit
e0e9d641fb
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue