mirror of
https://github.com/django/daphne.git
synced 2025-07-15 02:12:17 +03:00
Existing tests pass
This commit is contained in:
parent
5737a83dc0
commit
a75b67b395
|
@ -148,7 +148,7 @@ class CommandLineInterface:
|
|||
default=False,
|
||||
action="store",
|
||||
)
|
||||
self.arg_proxy_port = self.parser.add_argument(
|
||||
self.max_requests = self.parser.add_argument(
|
||||
"--max-requests",
|
||||
dest="max_requests",
|
||||
help="The maximum number of requests a worker will process before restarting.",
|
||||
|
|
|
@ -57,7 +57,7 @@ class Server:
|
|||
application_close_timeout=10,
|
||||
ready_callable=None,
|
||||
server_name="Daphne",
|
||||
max_requests=0,
|
||||
max_requests=float('inf'),
|
||||
# Deprecated and does not work, remove in version 2.2
|
||||
ws_protocols=None,
|
||||
):
|
||||
|
|
Loading…
Reference in New Issue
Block a user