Skip to content

Commit

Permalink
updated main orchestration flow
Browse files Browse the repository at this point in the history
  • Loading branch information
JimVincentW committed Dec 31, 2024
1 parent 74703e7 commit 56490cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opol/stack/flows/orchestration/orchestration.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async def produce_flags(raise_on_failure=True):
return response.status_code == 200

@task
async def create_scrape_jobs(raise_on_failure=True):
async def scrape_sources(raise_on_failure=True):
async with httpx.AsyncClient(timeout=1000) as client:
response = await client.post(f"{config.service_urls['service-scraper']}/create_scrape_jobs", timeout=700)
if response.status_code != 200 and raise_on_failure:
Expand Down

0 comments on commit 56490cb

Please sign in to comment.