summaryrefslogtreecommitdiffstats
path: root/build/glustermg.spec
diff options
context:
space:
mode:
authorTim <timothyasir@gluster.com>2011-08-05 16:19:19 +0530
committerTim <timothyasir@gluster.com>2011-08-05 16:19:19 +0530
commitbf1e7970755143d1de04420fc3d8b3fa236e0fc5 (patch)
treecc402bd1cdd5502730215bd77d822746eb9e8744 /build/glustermg.spec
parentf63dac07a99af3e700b25ed69fafa8f05a6d2aa7 (diff)
Number of retries set to 1 second and the network timeout set to 1 second for wget (AWS web-service-url).
Diffstat (limited to 'build/glustermg.spec')
-rw-r--r--build/glustermg.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/glustermg.spec b/build/glustermg.spec
index 2caec786..ef00122e 100644
--- a/build/glustermg.spec
+++ b/build/glustermg.spec
@@ -99,7 +99,7 @@ if ! grep -q "org.apache.catalina.authenticator.NonLoginAuthenticator" /etc/tomc
<Valve className="org.apache.catalina.authenticator.NonLoginAuthenticator" \
disableProxyCaching="false" />' /etc/tomcat5/context.xml
fi
-if wget -q -O /dev/null http://169.254.169.254/latest; then
+if wget -t 1 -T 1 -q -O /dev/null http://169.254.169.254/latest; then
sed -i '/<constructor-arg value="multicast"/c <constructor-arg value="none" \/>' /opt/glustermg/%{release_version}/glustermg/WEB-INF/classes/spring/gluster-server-base.xml
fi