From 88cd08aaaba8ad68c59228551c75424fb86c1904 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Fri, 9 Oct 2009 11:17:57 +0100
Subject: [PATCH] Add default instance shutdown timeout constant

It reflects the "current" two minutes we give to the instance.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 lib/constants.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/constants.py b/lib/constants.py
index cd6493d23..8febfdce9 100644
--- a/lib/constants.py
+++ b/lib/constants.py
@@ -315,6 +315,9 @@ BIND_ADDRESS_GLOBAL = "0.0.0.0"
 MIN_VG_SIZE = 20480
 DEFAULT_MAC_PREFIX = "aa:00:00"
 LVM_STRIPECOUNT = _autoconf.LVM_STRIPECOUNT
+# default maximum instance wait time, in seconds.
+DEFAULT_SHUTDOWN_TIMEOUT = 120
+
 
 # RPC constants
 (RPC_ENCODING_NONE,
-- 
GitLab