Skip to content

Commit

Permalink
Show a notification for all builds > 30 sec.
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
mbrubeck committed Apr 23, 2015
1 parent 1b08211 commit 79894f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/servo/build_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 79894f7

Please sign in to comment.