Skip to content

Commit

Permalink
Cleanup param "workers" in WSGIMiddleware (#1146)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
laggardkernel and JayH5 committed Jun 13, 2021
1 parent 467eb1c commit 310194e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlette/middleware/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def build_environ(scope: Scope, body: bytes) -> dict:


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

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

0 comments on commit 310194e

Please sign in to comment.