| Index: infra/bots/recipes/swarm_trigger.py
|
| diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
|
| index c4f1a54937281a15a60908d648050859f4ca4cd9..b16405dd064413f679d4c39e206e6f7215ce9318 100644
|
| --- a/infra/bots/recipes/swarm_trigger.py
|
| +++ b/infra/bots/recipes/swarm_trigger.py
|
| @@ -297,6 +297,7 @@ def recreate_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
|
|
|
| def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
|
| extra_isolate_hashes):
|
| + expiration, hard_timeout, io_timeout = get_timeouts(builder_cfg)
|
| task = trigger_task(
|
| api,
|
| 'ct_skps',
|
| @@ -309,7 +310,10 @@ def ct_skps_swarm(api, builder_cfg, got_revision, infrabots_dir,
|
| infrabots_dir,
|
| idempotent=False,
|
| store_output=False,
|
| - extra_isolate_hashes=extra_isolate_hashes)
|
| + extra_isolate_hashes=extra_isolate_hashes,
|
| + expiration=expiration,
|
| + hard_timeout=hard_timeout,
|
| + io_timeout=io_timeout)
|
| return api.swarming.collect_swarming_task(task)
|
|
|
|
|
| @@ -395,6 +399,9 @@ def get_timeouts(builder_cfg):
|
| expiration = 2*24*60*60
|
| hard_timeout = 9*60*60
|
| io_timeout = 60*60
|
| + if builder_cfg.get('extra_config', '').startswith('CT_'):
|
| + hard_timeout = 24*60*60
|
| + io_timeout = 60*60
|
| return expiration, hard_timeout, io_timeout
|
|
|
|
|
|
|