Commit 04fa01fd authored by Garrett Beaty's avatar Garrett Beaty Committed by Commit Bot

Replace integer math with self-documenting duration math.

Change-Id: If1026afabd6da9f61bb0f6371d7d521271b6eefe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303038
Auto-Submit: Garrett Beaty <gbeaty@chromium.org>
Reviewed-by: default avatarStephen Martinis <martiniss@chromium.org>
Commit-Queue: Stephen Martinis <martiniss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789203}
parent 970dc7eb
...@@ -2955,7 +2955,7 @@ ci.memory_builder( ...@@ -2955,7 +2955,7 @@ ci.memory_builder(
cores = 32, cores = 32,
# TODO(https://crbug.com/919430) Remove the larger timeout once compile # TODO(https://crbug.com/919430) Remove the larger timeout once compile
# times have been brought down to reasonable level # times have been brought down to reasonable level
execution_timeout = time.hour * 9 / 2, # 4.5 (can't multiply float * duration) execution_timeout = 4 * time.hour + 30 * time.minute,
tree_closing = False, tree_closing = False,
) )
......
...@@ -708,7 +708,7 @@ try_.chromium_win_builder( ...@@ -708,7 +708,7 @@ try_.chromium_win_builder(
try_.chromium_win_builder( try_.chromium_win_builder(
name = 'win7-rel', name = 'win7-rel',
execution_timeout = time.hour * 9 / 2, # 4.5 (can't multiply float * duration) execution_timeout = 4 * time.hour + 30 * time.minute,
goma_jobs = goma.jobs.J300, goma_jobs = goma.jobs.J300,
ssd = True, ssd = True,
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment