summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-09-20 11:12:34 +0200
committerGitHub <noreply@github.com>2025-09-20 11:12:34 +0200
commit164167dea0a0823845de42188818e7f80262aa71 (patch)
tree5fb3e2559a4a08715359b1192de2f4eb2b928651 /searx
parentb3eb7657b9b4c4842f3c5f15a3618d1a92c50da7 (diff)
[mod] py: remove uvloop (#5220)
We get some good stuff without uvloop, 13MB~ less of dependencies, 3 minutes of build time for armv7 saved, and we are one step closer to NT compatibility. Although it's true that theoretically the raw performance have worsened on network side (we only used uvloop for that), the latest cpython versions have been improving on asyncio performance.
Diffstat (limited to 'searx')
-rw-r--r--searx/network/client.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/searx/network/client.py b/searx/network/client.py
index bd21bc9b5..c7c07c385 100644
--- a/searx/network/client.py
+++ b/searx/network/client.py
@@ -13,13 +13,9 @@ import threading
import httpx
from httpx_socks import AsyncProxyTransport
from python_socks import parse_proxy_url, ProxyConnectionError, ProxyTimeoutError, ProxyError
-import uvloop
from searx import logger
-
-uvloop.install()
-
CertTypes = str | tuple[str, str] | tuple[str, str, str]
SslContextKeyType = tuple[str | None, CertTypes | None, bool, bool]