mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
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:
parent
0f664b02fd
commit
508a7deaff
@ -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'):
|
||||
|
Loading…
Reference in New Issue
Block a user