Skip to content

Commit 310194e

Browse files
laggardkernelJayH5
andauthored
Cleanup param "workers" in WSGIMiddleware (#1146)
Param "workers" in WSGIMiddleware.__init__ has not been used since 0.6.3, which is changed in GH-164, commit 96c51c. Co-authored-by: Jamie Hewland <jhewland@gmail.com>
1 parent 467eb1c commit 310194e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

starlette/middleware/wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def build_environ(scope: Scope, body: bytes) -> dict:
5454

5555

5656
class WSGIMiddleware:
57-
def __init__(self, app: typing.Callable, workers: int = 10) -> None:
57+
def __init__(self, app: typing.Callable) -> None:
5858
self.app = app
5959

6060
async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:

0 commit comments

Comments
 (0)