try: ditch waitress

This commit is contained in:
cwilvx
2025-02-07 17:10:27 +03:00
parent 7082f30209
commit beec5bc7d3
6 changed files with 1666 additions and 69 deletions
+11 -10
View File
@@ -229,17 +229,18 @@ if __name__ == "__main__":
load_into_mem()
run_swingmusic()
TrackStore.export()
ArtistStore.export()
# TrackStore.export()
# ArtistStore.export()
host = FLASKVARS.get_flask_host()
port = FLASKVARS.get_flask_port()
waitress.serve(
app,
host=host,
port=port,
threads=100,
ipv6=True,
ipv4=True,
)
# waitress.serve(
# app,
# host=host,
# port=port,
# threads=100,
# ipv6=True,
# ipv4=True,
# )
app.run(host=host, port=port, debug=False)