Skip to content

Commit 887de92

Browse files
committed
Reduce hypercorn parallelism
Signed-off-by: Anuraag Agrawal <[email protected]>
1 parent a0f48b2 commit 887de92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

conformance/test/test_server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def test_server_sync(server: str) -> None:
5252
"**/bidi-stream/full-duplex/**",
5353
]
5454
match server:
55-
case "granian":
56-
# granian seems to have issues with concurrency
55+
case "granian" | "hypercorn":
56+
# granian and hypercorn seem to have issues with concurrency
5757
opts += ["--parallel", "1"]
5858
case "gunicorn":
5959
# gunicorn doesn't support HTTP/2
@@ -94,8 +94,8 @@ def test_server_async(server: str) -> None:
9494
)
9595
opts = []
9696
match server:
97-
case "granian":
98-
# granian seems to have issues with concurrency
97+
case "granian" | "hypercorn":
98+
# granian and hypercorn seem to have issues with concurrency
9999
opts = ["--parallel", "1"]
100100
case "uvicorn":
101101
# uvicorn doesn't support HTTP/2

0 commit comments

Comments
 (0)