Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

多线程上传时, 出现警告"WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: pan.baidu.com" #99

Open
bluer007 opened this issue Jul 12, 2019 · 0 comments

Comments

@bluer007
Copy link

基于贵项目(baidupcsapi)封装的一个多线程上传脚本(https://github.com/bluer007/baidu_uploader).

线程数设较大时, 多线程上传久了, 会出现警告"WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: pan.baidu.com".

查了下资料, 应该是
python之requests urllib3 连接池 - my8100 - 博客园
https://www.cnblogs.com/my8100/p/7342010.html

解决Python下urllib3报错requests.packages.urllib3.connectionpool : Connection pool is full
https://blog.csdn.net/guyue35/article/details/95333484

建议能开放接口, 允许设置request的连接池大小接口.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant