Switch the web UI from Werkzeug's built-in server to Gunicorn for a more stable production deployment path. Keep a separate dev config so local runs still reload quickly, while the production path uses a dedicated WSGI entrypoint and cleaner startup behavior. The main motivation is to reduce the websocket teardown noise and make the server behavior more predictable under the app's mostly background-driven workload.
8 lines
157 B
Python
8 lines
157 B
Python
"""WSGI entrypoint for SoulSync production deployments."""
|
|
|
|
from web_server import app, start_runtime_services
|
|
|
|
|
|
start_runtime_services()
|
|
|
|
application = app
|