Remove unnecessary KeyboardInterrupt handler
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
a275fe9522
commit
135860f4c1
@ -551,9 +551,6 @@ async def setup_db(app, loop):
|
||||
|
||||
monitor(app).expose_endpoint()
|
||||
|
||||
try:
|
||||
app.run(host="0.0.0.0",
|
||||
port=5000,
|
||||
debug=bool(os.getenv("DEBUG", 0)))
|
||||
except KeyboardInterrupt:
|
||||
asyncio.get_event_loop().close()
|
||||
app.run(host="0.0.0.0",
|
||||
port=5000,
|
||||
debug=bool(os.getenv("DEBUG", 0)))
|
||||
|
Loading…
Reference in New Issue
Block a user