aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2013-01-21 12:31:13 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2013-01-21 12:31:13 +0200
commit2aa010e4093374bec18fb2c48ab9da5edc503c9b (patch)
treea717542f13e29090121ea3b8581c41b142cb15cc
parenta6a452aa66a8bbc35a4d81056f9578ac84893e13 (diff)
Catch offline slaves in 30min, so we don't pay for more than 1hr.
-rwxr-xr-xmonitor_ec2_build_slaves.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_ec2_build_slaves.py b/monitor_ec2_build_slaves.py
index 00c6170..a4ed242 100755
--- a/monitor_ec2_build_slaves.py
+++ b/monitor_ec2_build_slaves.py
@@ -30,7 +30,7 @@ from lxml.etree import fromstring
HOUR = 60
# Don't consider slave running less than this at all
-MINIMAL_INSTANCE_RUN_TIME = 1 * HOUR
+MINIMAL_INSTANCE_RUN_TIME = 0.5 * HOUR
# "Normal" instance run time, running less than this w/o obvious
# breakage symptoms is ok
INSTANCE_RUN_TIME = 3 * HOUR