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

Timeout on aquiring connection from pool #218

Conversation

beezz
Copy link
Contributor

@beezz beezz commented Nov 25, 2016

This PR implements timeout on acquiring connection from pool using the async-timeout lib. (#130)

@beezz
Copy link
Contributor Author

beezz commented Nov 25, 2016

I'd love to provide some tests for this as well, but can't think of reasonable way. Any suggestions? Maybe connection to non-existent server with zero timeout would do the trick.

@codecov-io
Copy link

codecov-io commented Nov 25, 2016

Current coverage is 92.53% (diff: 100%)

Merging #218 into master will increase coverage by 0.01%

@@             master       #218   diff @@
==========================================
  Files            12         12          
  Lines          1338       1340     +2   
  Methods           0          0          
  Messages          0          0          
  Branches        168        168          
==========================================
+ Hits           1238       1240     +2   
  Misses           73         73          
  Partials         27         27          

Powered by Codecov. Last update 559fd66...9f24b36

@jettify
Copy link
Member

jettify commented Nov 26, 2016

Thank you for your contribution, but this change will break library for tornado users, for more information see: aio-libs/aiohttp#1180

@stopspazzing
Copy link
Contributor

Latest info related to timeout and aiohttp here: aio-libs/aiohttp#1524

Should this PR be updated to merge or closed?

@asvetlov
Copy link
Member

The PR should wait for Tornado 5 I think.

@beezz beezz closed this Jul 2, 2020
@beezz beezz deleted the enhc/timeout_on_aquiring_connection_from_pool branch July 2, 2020 06:35
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.

5 participants