cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrijapa...@apache.org
Subject [cloudstack] 01/01: Fix interval descrption
Date Sat, 22 Jun 2019 15:02:04 GMT
This is an automated email from the ASF dual-hosted git repository.

andrijapanic pushed a commit to branch andrijapanicsb-patch-3
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit add77070ede200a6b48055feaf90fe061157d59d
Author: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com>
AuthorDate: Sat Jun 22 17:01:52 2019 +0200

    Fix interval descrption
    
    Tested manually - value is in miliseconds, not seconds.
    
    But I'm not sure how about https://github.com/apache/cloudstack/blob/1d05fead49f5c856257a741b07122f5633d2e359/engine/schema/src/main/resources/META-INF/db/schema-41000to41100.sql#L258
- since it does insert of this setting  with also wrong wording
---
 server/src/main/java/com/cloud/configuration/Config.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/com/cloud/configuration/Config.java b/server/src/main/java/com/cloud/configuration/Config.java
index 09238ea..1aad66d 100644
--- a/server/src/main/java/com/cloud/configuration/Config.java
+++ b/server/src/main/java/com/cloud/configuration/Config.java
@@ -849,7 +849,7 @@ public enum Config {
             "The interval (in milliseconds) when vm stats are retrieved from agents.",
             null),
     VmDiskStatsInterval("Advanced", ManagementServer.class, Integer.class, "vm.disk.stats.interval",
"0", "Interval (in seconds) to report vm disk statistics.", null),
-    VolumeStatsInterval("Advanced", ManagementServer.class, Integer.class, "volume.stats.interval",
"60000", "Interval (in seconds) to report volume statistics.", null),
+    VolumeStatsInterval("Advanced", ManagementServer.class, Integer.class, "volume.stats.interval",
"60000", "Interval (in miliseconds) to report volume statistics.", null),
     VmTransitionWaitInterval(
             "Advanced",
             ManagementServer.class,


Mime
View raw message