From 02075dfbedd90bc3cdbe92ce653113b968d1f8c4 Mon Sep 17 00:00:00 2001 From: inauner Date: Tue, 25 Aug 2026 11:11:00 -0700 Subject: [PATCH] galaxy: enable threaded mode in Flask to prevent request blocking --- starpilot/system/the_galaxy/the_galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starpilot/system/the_galaxy/the_galaxy.py b/starpilot/system/the_galaxy/the_galaxy.py index 15c6eaea6..774c5fc7e 100644 --- a/starpilot/system/the_galaxy/the_galaxy.py +++ b/starpilot/system/the_galaxy/the_galaxy.py @@ -8745,7 +8745,7 @@ def main(): print("\"The Galaxy\" is not running on a comma device, enabling debug mode") app.secret_key = secrets.token_hex(32) - app.run(host=host, port=port, debug=debug, use_reloader=use_reloader) + app.run(host=host, port=port, debug=debug, use_reloader=use_reloader, threaded=True) if __name__ == "__main__": main()