Skip to content

Commit

Permalink
Scale clusters correctly
Browse files Browse the repository at this point in the history
Seggraph may use different number of workers, notify synaptor image with
the tag
  • Loading branch information
ranlu committed Mar 7, 2024
1 parent 1606d1f commit ee83598
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dags/synaptor_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ def generate_op(
f" --queueurl {broker_url}"
f" --queuename {task_queue_name}"
)
if taskname == "self_destruct":
command += f" --clusterkey {tag}"

# these variables will be mounted in the containers
variables = add_secrets_if_defined(["synaptor_param.json"])
Expand Down

0 comments on commit ee83598

Please sign in to comment.