commit
5a7b70c054
|
@ -243,7 +243,7 @@ class Sanic:
|
||||||
def run(self, host="127.0.0.1", port=8000, debug=False, before_start=None,
|
def run(self, host="127.0.0.1", port=8000, debug=False, before_start=None,
|
||||||
after_start=None, before_stop=None, after_stop=None, sock=None,
|
after_start=None, before_stop=None, after_stop=None, sock=None,
|
||||||
workers=1, loop=None, protocol=HttpProtocol, backlog=100,
|
workers=1, loop=None, protocol=HttpProtocol, backlog=100,
|
||||||
stop_event=None, logger=None):
|
stop_event=None):
|
||||||
"""
|
"""
|
||||||
Runs the HTTP Server and listens until keyboard interrupt or term
|
Runs the HTTP Server and listens until keyboard interrupt or term
|
||||||
signal. On termination, drains connections before closing.
|
signal. On termination, drains connections before closing.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user