Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix async client timeout #1617

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Fix async client timeout #1617

merged 1 commit into from
Feb 29, 2024

Conversation

hugoabonizio
Copy link
Contributor

What does this PR do?

Fixes #1616

According to the aiohttp.ClientTimeout docs, the arguments should be in seconds. This PR removes the multiplication by 60.

@OlivierDehaene OR @Narsil

Copy link
Member

@OlivierDehaene OlivierDehaene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@OlivierDehaene OlivierDehaene merged commit 9ed4d2c into huggingface:main Feb 29, 2024
@hugoabonizio hugoabonizio deleted the patch-1 branch February 29, 2024 14:44
kdamaszk pushed a commit to kdamaszk/tgi-gaudi that referenced this pull request Apr 29, 2024
# What does this PR do?

Fixes huggingface#1616

According to the [aiohttp.ClientTimeout
docs](https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientTimeout),
the arguments should be in seconds. This PR removes the multiplication
by 60.

@OlivierDehaene OR @Narsil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrectly multiplied timeout by 60 in the asynchronous client
2 participants