Skip to content

Commit 1931b98

Browse files
authored
Merge pull request #55 from TogetherCrew/feat/mediawiki-workflows
fix: wrong args for execute child workflow!
2 parents c3aad42 + 1700ee9 commit 1931b98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hivemind_etl/mediawiki/workflows.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@ async def run(self, platform_id: str | None = None) -> None:
129129
ExtractMediaWikiWorkflow.run,
130130
mediawiki_platform,
131131
id=f"mediawiki:extract:{platform['community_id']}",
132-
start_to_close_timeout=timedelta(days=5),
132+
execution_timeout=timedelta(days=6),
133133
)
134134

135135
# Transform the extracted data and store in S3
136136
transformed_data_key = await workflow.execute_child_workflow(
137137
TransformMediaWikiWorkflow.run,
138138
mediawiki_platform,
139139
id=f"mediawiki:transform:{platform['community_id']}",
140-
start_to_close_timeout=timedelta(hours=6),
140+
execution_timeout=timedelta(hours=6),
141141
)
142142

143143
mediawiki_platform["transformed_data_key"] = transformed_data_key
@@ -146,7 +146,7 @@ async def run(self, platform_id: str | None = None) -> None:
146146
LoadMediaWikiWorkflow.run,
147147
mediawiki_platform,
148148
id=f"mediawiki:load:{platform['community_id']}",
149-
start_to_close_timeout=timedelta(hours=3),
149+
execution_timeout=timedelta(days=3),
150150
)
151151

152152
logging.info(

0 commit comments

Comments
 (0)