From 79894f7ec59a6445a39a60e1ccd3dc242b1e5d6e Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 23 Apr 2015 11:42:09 -0700 Subject: [PATCH] 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). --- python/servo/build_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index d34a271efd0a..ca9075a48f00 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'):