相关疑难解决方法(0)

我可以更改Python的"请求"模块的连接池大小吗?

(编辑:也许这个错误意味着我错了.这是否表示我的CLIENT的连接池已满?或者SERVER的连接池已满,这是我的客户端给出的错误?)

我试图http使用python threadingrequests模块同时发出大量请求.我在日志中看到这个错误:

WARNING:requests.packages.urllib3.connectionpool:HttpConnectionPool is full, discarding connection:
Run Code Online (Sandbox Code Playgroud)

如何增加请求的连接池大小?

python multithreading request python-requests

41
推荐指数
3
解决办法
2万
查看次数

标签 统计

multithreading ×1

python ×1

python-requests ×1

request ×1