Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feature/inherit_confi…
Browse files Browse the repository at this point in the history
…g_support
  • Loading branch information
yutaro-oguri committed Dec 5, 2023
2 parents 150a632 + 67c041b commit 5611c4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kannon/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from collections import deque
from copy import deepcopy
from time import sleep
from typing import List, Optional

import gokart
from gokart.target import make_target
Expand Down Expand Up @@ -45,9 +46,11 @@ def __init__(
if env_to_inherit is None:
env_to_inherit = ["TASK_WORKSPACE_DIRECTORY"]
self.env_to_inherit = env_to_inherit

self.master_pod_name = master_pod_name
self.master_pod_uid = master_pod_uid
self.dynamic_config_path = dynamic_config_path

if max_child_jobs is not None and max_child_jobs <= 0:
raise ValueError(f"max_child_jobs must be positive integer, but got {max_child_jobs}")
self.max_child_jobs = max_child_jobs
Expand Down

0 comments on commit 5611c4f

Please sign in to comment.