summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Negrea <snegrea@redhat.com>2012-08-24 15:21:20 (GMT)
committerStefan Negrea <snegrea@redhat.com>2012-08-24 15:22:10 (GMT)
commitb8a6a496d40915abb22fdd87753aec0c131ed95d (patch)
tree0732af3dc4143bbbd4d36249d539991049f0b85e
parent97867e2b4b241fa5ea33d0f439b1026914def5be (diff)
downloadrhq-b8a6a496d40915abb22fdd87753aec0c131ed95d.zip
rhq-b8a6a496d40915abb22fdd87753aec0c131ed95d.tar.gz
rhq-b8a6a496d40915abb22fdd87753aec0c131ed95d.tar.xz
[BZ 849964] Increase the operation timeout to 30 seconds to avoid cases where the host is under heavy load thus making all managed server operations take longer than the default 10 seconds.
-rw-r--r--modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ManagedASComponent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ManagedASComponent.java b/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ManagedASComponent.java
index d26f54e..e7fcd5b 100644
--- a/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ManagedASComponent.java
+++ b/modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/ManagedASComponent.java
@@ -271,7 +271,7 @@ public class ManagedASComponent extends BaseComponent<HostControllerComponent<?>
}
}
- Result res = getASConnection().execute(op);
+ Result res = getASConnection().execute(op, 30);
OperationResult opRes;
if (res.isSuccess()) {