auto_reload 参数置为False就好了
if __name__ == "__main__":
app.run(auto_reload=False)
https://github.com/huge-success/sanic/issues/1313#issuecomment-436641797
auto_reload 参数置为False就好了
if __name__ == "__main__":
app.run(auto_reload=False)
https://github.com/huge-success/sanic/issues/1313#issuecomment-436641797