Increases the retry limit to allow xend more time before issuing a balloon
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 24 Jun 2006 22:39:05 +0000 (23:39 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sat, 24 Jun 2006 22:39:05 +0000 (23:39 +0100)
error. This fixes bug #683.

Signed-off-by: Susan Krysan <krysans@unisys.com>
tools/python/xen/xend/balloon.py

index c4ce97deb2192c0e794edccfee073e6455d5fb5a..95ebc4dadb72d458e08a92cdbc908f56849c3637 100644 (file)
@@ -31,7 +31,7 @@ PROC_XEN_BALLOON = '/proc/xen/balloon'
 
 BALLOON_OUT_SLACK = 1 # MiB.  We need this because the physinfo details are
                       # rounded.
-RETRY_LIMIT = 10
+RETRY_LIMIT = 20
 RETRY_LIMIT_INCR = 5
 ##
 # The time to sleep between retries grows linearly, using this value (in