Gotta go fast!
This commit is contained in:
parent
9527e5ded8
commit
2ec25dd810
|
@ -568,6 +568,13 @@ class Sanic:
|
||||||
self.is_running = False
|
self.is_running = False
|
||||||
log.info("Server Stopped")
|
log.info("Server Stopped")
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------- #
|
||||||
|
# Goin' fast
|
||||||
|
# -------------------------------------------------------------------- #
|
||||||
|
|
||||||
|
def go_fast(self, *args, **kwargs):
|
||||||
|
self.run(*args, **kwargs)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
"""This kills the Sanic"""
|
"""This kills the Sanic"""
|
||||||
get_event_loop().stop()
|
get_event_loop().stop()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user