Skip to content

Commit

Permalink
feat(agents-api): Increase timeout to 60s for executing integration a…
Browse files Browse the repository at this point in the history
…ctivity (#726)

<!-- ELLIPSIS_HIDDEN -->



> [!IMPORTANT]
> Increase timeout to 60 seconds for `AsyncClient` in
`run_integration_service` to allow longer execution times.
> 
>   - **Behavior**:
> - Increase timeout to 60 seconds for `AsyncClient` in
`run_integration_service` function in `integrations.py` to allow longer
execution times for integration activities.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup>
for f62a392. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
HamadaSalhab authored Oct 21, 2024
1 parent 8166607 commit dd7480e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents-api/agents_api/clients/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async def run_integration_service(

setup = setup or None

async with AsyncClient() as client:
async with AsyncClient(timeout=60) as client:
response = await client.post(
url,
json={"arguments": arguments, "setup": setup},
Expand Down

0 comments on commit dd7480e

Please sign in to comment.