Skip to content

Commit 9a66f93

Browse files
andrijapanicsbnvazquez
authored andcommitted
Update NetworkOrchestrator.java
network.gc.value was mistakenly obtained from network.gc.wait added messages for both gc.wait and gc.internval.
1 parent d9868cd commit 9a66f93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -3556,7 +3556,9 @@ public void reallyRun() {
35563556

35573557
final List<Long> networkIds = _networksDao.findNetworksToGarbageCollect();
35583558
final int netGcWait = NumbersUtil.parseInt(_configDao.getValue(NetworkGcWait.key()), 60);
3559-
logger.info("NetworkGarbageCollector uses '{}' seconds for GC interval.", netGcWait);
3559+
final int netGcInterval = NumbersUtil.parseInt(_configDao.getValue(NetworkGcInterval.key()), 60);
3560+
logger.info("NetworkGarbageCollector uses '{}' seconds for GC wait.", netGcWait);
3561+
logger.info("NetworkGarbageCollector uses '{}' seconds for GC interval.", netGcInterval);
35603562

35613563
for (final Long networkId : networkIds) {
35623564
if (!_networkModel.isNetworkReadyForGc(networkId)) {

0 commit comments

Comments
 (0)