Signed-off-by: Jiri Jaburek <jjaburek(a)redhat.com>
---
src/python/testwatcher.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/python/testwatcher.py b/src/python/testwatcher.py
index 5231675..4f76531 100755
--- a/src/python/testwatcher.py
+++ b/src/python/testwatcher.py
@@ -66,8 +66,11 @@ import tempfile
### CONFIG
#
# Beaker External watchdog = 30 minutes after LWD
-# (25 minutes = 1500 secs)
-ewd_maxsecs = 1500
+# (25 minutes = 1500 secs by default, configurable via env)
+if 'TESTWATCHER_EWD_SECS' in os.environ:
+ ewd_maxsecs = int(os.environ['TESTWATCHER_EWD_SECS'])
+else:
+ ewd_maxsecs = 1500
# beah LWD hook
lwd_guard_file = '/usr/share/rhts/hooks/watchdog/testwatcher-cleanup-guard'
--
1.8.3.1