summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Negrea <snegrea@redhat.com>2012-08-24 15:52:55 (GMT)
committerStefan Negrea <snegrea@redhat.com>2012-08-24 15:52:55 (GMT)
commit7af81f47b9ba59ec80f0154ec92740d0a819a4e8 (patch)
treec4febd0885b0a51e91b178b4d054d80f2c1dcfa2
parent96126f01d4e4911d56d4fceed76c16f3d72e74c7 (diff)
downloadrhq-7af81f47b9ba59ec80f0154ec92740d0a819a4e8.zip
rhq-7af81f47b9ba59ec80f0154ec92740d0a819a4e8.tar.gz
rhq-7af81f47b9ba59ec80f0154ec92740d0a819a4e8.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.
(cherry picked from commit b8a6a496d40915abb22fdd87753aec0c131ed95d)
-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()) {