diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-06-09 12:57:27 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-06-09 12:57:27 +0100 |
commit | b90f5a21f2c642df77936cae9d5641a788f82525 (patch) | |
tree | db78efab81d91aef09ae91db20fff600670019cb /packaging | |
parent | 140919e4bb5daea886c9b4edadebc3ca07242e55 (diff) | |
download | rabbitmq-server-b90f5a21f2c642df77936cae9d5641a788f82525.tar.gz |
merged Florian's 10th patch: replace sleep 2 with sleep 1
OCF resource agent: replace "sleep 2" with "sleep 1"
We want to complete operations as quickly as possible, and whether we
check the server's status every 2 seconds or every 1 second makes
hardly any difference to Pacemaker.
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/common/rabbitmq-server.ocf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/common/rabbitmq-server.ocf b/packaging/common/rabbitmq-server.ocf index bea68aac..3451535e 100755 --- a/packaging/common/rabbitmq-server.ocf +++ b/packaging/common/rabbitmq-server.ocf @@ -289,7 +289,7 @@ rabbit_start() { ocf_log info "rabbitmq-server start failed: $rc" exit $OCF_ERR_GENERIC fi - sleep 2 + sleep 1 done return $OCF_SUCCESS @@ -324,7 +324,7 @@ rabbit_stop() { ocf_log info "rabbitmq-server stop failed: $rc" exit $OCF_ERR_GENERIC fi - sleep 2 + sleep 1 done return $OCF_SUCCESS |