Adding ability to set timeout for vrrp scripts
Currently, there is no way to set timeout, at
one of the customer envs, we have faced an issue,
where haproxy check script, was hanging indefinitely,
due to memory issues. Timeout option, greatly helped
and mitigated this problem for us.
Change-Id: I0aebd16086545e6b770fe297a8bca227974b0065
diff --git a/README.rst b/README.rst
index 93831e2..f7c4fa1 100644
--- a/README.rst
+++ b/README.rst
@@ -182,6 +182,7 @@
- available_when_readonly=0
check_random_exit:
interval: 10
+ timeout: 5
content: |
#!/bin/bash
exit $(($RANDOM%2))