From 2ec25dd8106f454ad514a3b588f3607b4881ed32 Mon Sep 17 00:00:00 2001 From: Johnny Rocketfingers Date: Wed, 3 May 2017 11:50:33 +0200 Subject: [PATCH] Gotta go fast! --- sanic/app.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sanic/app.py b/sanic/app.py index bb920c5c..8c152744 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -568,6 +568,13 @@ class Sanic: self.is_running = False log.info("Server Stopped") + # -------------------------------------------------------------------- # + # Goin' fast + # -------------------------------------------------------------------- # + + def go_fast(self, *args, **kwargs): + self.run(*args, **kwargs) + def stop(self): """This kills the Sanic""" get_event_loop().stop()