aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-04-23 11:42:09 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-04-23 11:42:09 -0700
commit79894f7ec59a6445a39a60e1ccd3dc242b1e5d6e (patch)
tree1be414cf82d94040eff2c83c44ede43eb69bcc58 /python/servo/build_commands.py
parent1b08211a5e9ec00eeaf241b916d51dc665289825 (diff)
downloadservo-79894f7ec59a6445a39a60e1ccd3dc242b1e5d6e.tar.gz
servo-79894f7ec59a6445a39a60e1ccd3dc242b1e5d6e.zip
Show a notification for all builds > 30 sec.
The 300 second threshold was originally from the Gecko/Firefox build system. It doesn't fit Servo builds, which are shorter, and often hover right around the 300 second mark (making the notification unpredictable).
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index d34a271efd0..ca9075a48f0 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -19,7 +19,7 @@ def is_headless_build():
# Function to generate desktop notification once build is completed & limit exceeded!
def notify(elapsed):
- if elapsed < 300:
+ if elapsed < 30:
return
if sys.platform.startswith('linux'):