mirror of
https://github.com/servo/servo.git
synced 2025-06-21 23:59:00 +01:00
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).
This commit is contained in:
parent
1b08211a5e
commit
79894f7ec5
1 changed files with 1 additions and 1 deletions
|
@ -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'):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue