Github user jburwell commented on a diff in the pull request:
    --- Diff: 
core/src/com/cloud/agent/resource/virtualnetwork/ ---
    @@ -374,9 +375,9 @@ private Answer execute(AggregationControlCommand cmd) {
                     FileConfigItem fileConfigItem = new 
FileConfigItem(VRScripts.CONFIG_CACHE_LOCATION, cfgFileName, sb.toString());
                     ScriptConfigItem scriptConfigItem = new 
ScriptConfigItem(VRScripts.VR_CFG, "-c " + VRScripts.CONFIG_CACHE_LOCATION + 
                     // 120s is the minimal timeout
    -                int timeout = answerCounts * _eachTimeout;
    -                if (timeout < 120) {
    -                    timeout = 120;
    +                Duration timeout = Duration.standardSeconds(answerCounts * 
    --- End diff --
    To avoid any potential unit conversion issues, consider using the 
``Duration.       multipliedBy(int)` method.  

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to