Auto merge of #5819 - mbrubeck:notify-more, r=jdm

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).
This commit is contained in:
bors-servo 2015-04-23 23:24:06 -05:00
commit 07aa6306f5

View file

@ -19,7 +19,7 @@ def is_headless_build():
# Function to generate desktop notification once build is completed & limit exceeded! # Function to generate desktop notification once build is completed & limit exceeded!
def notify(elapsed): def notify(elapsed):
if elapsed < 300: if elapsed < 30:
return return
if sys.platform.startswith('linux'): if sys.platform.startswith('linux'):