All Questions
2 questions
0
votes
1
answer
329
views
Unable to get multiple response requests on aiohttp
I am trying to pull multiple responses requests using aiohttp but I am getting an attribute error.
My code looks like this, I had to obscure it because I am using a private api.
import aiohttp
import ...
1
vote
1
answer
1k
views
Requests / Asyncio: Is there a drawback for making pool_maxsize=1000 with a Python requests session?
I am using the following code to increase the pool maxsize with requests:
import requests
session = requests.Session()
session.mount("https://", requests.adapters.HTTPAdapter(pool_maxsize=50))
...