cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1678: CLOUDSTACK-9503: Increased the VR script time...
Date Thu, 22 Sep 2016 15:23:18 GMT
Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1678#discussion_r80065183
  
    --- Diff: plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/resources/Ovm3VirtualRoutingResource.java
---
    @@ -38,7 +40,7 @@
         private final Logger logger = Logger
                 .getLogger(Ovm3VirtualRoutingResource.class);
         private String domRCloudPath = "/opt/cloud/bin/";
    -    private int vrTimeout = 600;
    +    private Duration vrTimeout = Duration.standardSeconds(600L);
    --- End diff --
    
    Please consider extracting ``Duration.standardSeconds(600L)`` to constant to clarify the
intent.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message