Skip to content

Commit fbc5ee6

Browse files
committed
fix: bump MAX_ROUTES up to 64
This has apparently been the limit in Taskcluster since 2019, but we never noticed / bothered to update it here.
1 parent 75590be commit fbc5ee6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/taskgraph/morph.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
here = os.path.abspath(os.path.dirname(__file__))
3232
logger = logging.getLogger(__name__)
33-
MAX_ROUTES = 10
33+
MAX_ROUTES = 64
3434

3535
registered_morphs = []
3636

@@ -155,10 +155,9 @@ def make_index_task(parent_task, taskgraph, label_to_taskid, parameters, graph_c
155155
@register_morph
156156
def add_index_tasks(taskgraph, label_to_taskid, parameters, graph_config):
157157
"""
158-
The TaskCluster queue only allows 10 routes on a task, but we have tasks
159-
with many more routes, for purposes of indexing. This graph morph adds
160-
"index tasks" that depend on such tasks and do the index insertions
161-
directly, avoiding the limits on task.routes.
158+
The TaskCluster queue only allows 64 routes on a task. In the event a task
159+
exceeds this limit, this graph morph adds "index tasks" that depend on it
160+
and do the index insertions directly, avoiding the limit on task.routes.
162161
"""
163162
logger.debug("Morphing: adding index tasks")
164163

0 commit comments

Comments
 (0)