Skip to content

Commit

Permalink
fix: change_job_timeout_of_mysql_open_area TencentBlueKing#7940
Browse files Browse the repository at this point in the history
  • Loading branch information
xfan0805 committed Nov 13, 2024
1 parent 9979692 commit 76a7886
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from backend.db_meta.exceptions import ClusterNotExistException, DBMetaException
from backend.db_meta.models import Cluster
from backend.db_services.mysql.sql_import.constants import BKREPO_SQLFILE_PATH
from backend.flow.consts import LONG_JOB_TIMEOUT
from backend.flow.engine.bamboo.scene.common.builder import Builder, SubBuilder
from backend.flow.engine.bamboo.scene.common.get_file_list import GetFileList
from backend.flow.plugins.components.collections.mysql.authorize_rules import AuthorizeRulesComponent
Expand Down Expand Up @@ -237,6 +238,7 @@ def mysql_open_area_flow(self):
cluster_type=source_cluster_schema["cluster_type"],
cluster=source_cluster_schema,
exec_ip=source_cluster_schema["ip"],
job_timeout=LONG_JOB_TIMEOUT,
get_mysql_payload_func=MysqlActPayload.get_open_area_dump_schema_payload.__name__,
)
),
Expand Down Expand Up @@ -274,6 +276,7 @@ def mysql_open_area_flow(self):
cluster_type=target_cluster["cluster_type"],
cluster=target_cluster,
exec_ip=target_cluster["ip"],
job_timeout=LONG_JOB_TIMEOUT,
get_mysql_payload_func=MysqlActPayload.get_open_area_import_schema_payload.__name__,
)
),
Expand Down

0 comments on commit 76a7886

Please sign in to comment.