add back the non-chunked streaming endpoint

This commit is contained in:
cwilvx
2024-06-18 21:26:17 +03:00
parent ac86b0e938
commit acac50c932
5 changed files with 73 additions and 17 deletions
+9 -8
View File
@@ -49,23 +49,24 @@ werkzeug.setLevel(logging.ERROR)
# Background tasks
@background
def bg_run_setup():
run_periodic_scans()
# @background
# def bg_run_setup():
# pass
# run_periodic_scans()
@background
def start_watchdog():
WatchDog().run()
# @background
# def start_watchdog():
# WatchDog().run()
@background
def run_swingmusic():
log_startup_info()
bg_run_setup()
# bg_run_setup()
register_plugins()
start_watchdog()
# start_watchdog()
setproctitle.setproctitle(f"swingmusic ::{FLASKVARS.get_flask_port()}")