gradio-app / gradio-app/safehttpx

Resuse the same Client for connecting to Google DNS

Open
#2 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
72
Forks
8
PR merge metrics
No merged PRs in 30d

Description

https://github.com/gradio-app/safehttpx/blob/c3d25e1067cacb5e16356af186c5f76c388a9d1e/safehttpx/__init__.py#L44

We should use a single client instance in this case as it will save us from opening a new connection every time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.