rohityadavcloud commented on code in PR #10776:
URL: https://github.com/apache/cloudstack/pull/10776#discussion_r2063126003
##########
engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java:
##########
@@ -3556,7 +3556,8 @@ public void reallyRun() {
final List<Long> networkIds =
_networksDao.findNetworksToGarbageCollect();
final int netGcWait =
NumbersUtil.parseInt(_configDao.getValue(NetworkGcWait.key()), 60);
- logger.info("NetworkGarbageCollector uses '{}' seconds for GC
interval.", netGcWait);
+ final int netGcInterval =
NumbersUtil.parseInt(_configDao.getValue(NetworkGcInterval.key()), 60);
Review Comment:
Is the purpose to only log it, why not use the ConfigKey read the value,
than use the ConfigDao?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]