mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
try: ditch waitress
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user