servo: Merge #5819 - Change notification threshold from 300s to 30s (from 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).

Source-Repo: https://github.com/servo/servo
Source-Revision: 07aa6306f58b5d575a65ebaf5c71f510423ed8ca
This commit is contained in:
Matt Brubeck 2015-04-23 23:24:06 -05:00
parent 0f664b02fd
commit 508a7deaff

View File

@ -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'):