We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 495467e commit 0d3a1f4Copy full SHA for 0d3a1f4
tests/benchmark/client.py
@@ -12,7 +12,6 @@
12
from matplotlib.axes import Axes # type: ignore[import-untyped]
13
14
import httpcore
15
-from httpcore import AsyncioBackend, AutoBackend
16
17
PORT = 1234
18
URL = f"http://localhost:{PORT}/req"
@@ -21,7 +20,8 @@
21
20
CONCURRENCY = 20
22
POOL_LIMIT = 100
23
PROFILE = False
24
-AutoBackend.set_default_backend(AsyncioBackend)
+httpcore.AutoBackend.set_default_backend(httpcore.AsyncioBackend)
+# httpcore.AutoBackend.set_default_backend(httpcore.AnyIOBackend)
25
26
27
def duration(start: float) -> int:
0 commit comments