stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From isu...@apache.org
Subject [1/2] git commit: using default member expiry time of user specifies 0 in startup script
Date Wed, 05 Feb 2014 07:14:12 GMT
Updated Branches:
  refs/heads/master fb7277261 -> 1db00e3d4


using default member expiry time of user specifies 0 in startup script


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/c8ece252
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/c8ece252
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/c8ece252

Branch: refs/heads/master
Commit: c8ece2525d892db904948179ce55e4c84197d1d4
Parents: c537b5a
Author: Isuru <isuruh@wso2.com>
Authored: Wed Feb 5 12:43:50 2014 +0530
Committer: Isuru <isuruh@wso2.com>
Committed: Wed Feb 5 12:43:50 2014 +0530

----------------------------------------------------------------------
 .../main/java/org/apache/stratos/autoscaler/PartitionContext.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/c8ece252/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/PartitionContext.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/PartitionContext.java
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/PartitionContext.java
index 6e6829e..5082c73 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/PartitionContext.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/PartitionContext.java
@@ -388,7 +388,7 @@ public class PartitionContext implements Serializable{
                 return -1;
             }
 
-            if (memberExpiryIntervalLongVal < 0) {
+            if (memberExpiryIntervalLongVal <= 0) {
                 log.warn("Invalid value specified for [member.expiry.interval] in the startup
script, default value of 15 mins will be used");
                 return -1;
             }


Mime
View raw message