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

脚本的requests建议用连接池 #44

Closed
imba-tjd opened this issue Oct 27, 2020 · 0 comments
Closed

脚本的requests建议用连接池 #44

imba-tjd opened this issue Oct 27, 2020 · 0 comments

Comments

@imba-tjd
Copy link

s = requests.session()
s.get()

有一个脚本是多线程的,根据我查到的资料来看session不支持线程安全,必须每个线程用一个,就没有意义了。

其余脚本我虽然可以改,但是owner似乎没有积极维护,所以我就不开PR了。

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

No branches or pull requests

1 participant