mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-08-11 07:01:41 +00:00
Improve slow startup times. #126
This commit is contained in:
@@ -59,8 +59,6 @@ if __name__ == '__main__':
|
||||
# Set up the web server
|
||||
WEB_SERVER.setup()
|
||||
|
||||
logging.info("Startup complete.")
|
||||
|
||||
# Run the web server. This is the blocking call that keeps the application running in the main thread, so this must
|
||||
# be the last thing we do. web_server.stop() triggers an await condition in the web server which finishes the main
|
||||
# thread.
|
||||
|
||||
Reference in New Issue
Block a user